• Resolved Bootje

    (@bootje)


    Hi

    I’ve started to write my first plugin and still have some questions.

    1. Can I know the ID of the post that has been saved after a save_post hook? I need to update the row in the wpdb posts: add_action('save_post','some_update');

    2. Are there people who can review my plugin before I put it online?

Viewing 1 replies (of 1 total)
  • Qurl

    (@qurl)

    The post ID is passed as an argument to the save_post action function.

Viewing 1 replies (of 1 total)
  • The topic ‘Hook: post_save’ is closed to new replies.