wp_after_insert_post


wp_after_insert_post ( $post, $update )

Parameters:
  • (int|WP_Post) post The post ID or object that has been saved.
  • (bool) update Whether this is an existing post being updated.
Defined at:

Description

Fires actions after a post, its terms and meta data has been saved.

Related Functions

wp_insert_post, wp_insert_site, wp_get_single_post, wp_trash_post, wp_reset_postdata

Top Google Results

User discussions

wpseek mobile