wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_after_insert_post › WordPress Action Hooks

Da5.6.0
Deprecaton/a
› do_action( 'wp_after_insert_post', $post_id, $post, $update, $post_before )
Parametri: (4)
  • () post_id Post ID.
    Richiesto: Sì
  • () post Post object.
    Richiesto: Sì
  • () update Whether this is an existing post being updated.
    Richiesto: Sì
  • () post_before Null for new posts, the WP_Post object prior to the update for updated posts.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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