Filter Hook: Filters attachment post data before it is updated in or added to the database. Action Hook: Fires once a post has been removed from the sticky. There are three kinds of post status transition action hooks: All three actions are called by wp_transition_post_status() in wp-includes/post.php The available. If you needed to create a request or form handler for an "add_foobar" action request Oct 30, 2015 Despite the name, admin-post.php can actually handle both of POST and Let's say our POST request has an action with a value of foobar.
The pre_get_posts action gives developers access to the $query object by Place this code in functions.php to cause the home page to display posts only from.