WordPress.org

Ready to get started?Download WordPress

Forums

Frontend Uploader
[resolved] Get the id of created post (4 posts)

  1. revolutionfrance
    Member
    Posted 1 year ago #

    Hello,

    Thanks for your plugin! How can I get the id of the post created by the form to use after the form is submitted? Thanks a lot!

    http://wordpress.org/extend/plugins/frontend-uploader/

  2. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Hey,

    If you're comfortable with php, there's a filter for this:

    <?php
    add_action( 'fu_after_create_post', 'fu_after_create_post' );
    function fu_after_create_post( $post_id ) {
    	// do something
    }
  3. revolutionfrance
    Member
    Posted 1 year ago #

    Perfect! That's all I needed. Thank you SO SO much!

  4. Rinat Khaziev
    Member
    Plugin Author

    Posted 1 year ago #

    Marking as resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.