wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_after_insert_post › Les Actions WordPress

Depuis5.6.0
Dépréciéen/a
› do_action( 'wp_after_insert_post', $post_id, $post, $update, $post_before )
Paramètres: (4)
  • () post_id Post ID.
    Requis: Oui
  • () post Post object.
    Requis: Oui
  • () update Whether this is an existing post being updated.
    Requis: Oui
  • () post_before Null for new posts, the WP_Post object prior to the update for updated posts.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

do_action( 'wp_after_insert_post', $post_id, $post, $update, $post_before );