WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Hook: post_save (2 posts)

  1. Bootje
    Member
    Posted 4 years ago #

    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?

  2. Qurl
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.