wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_after_insert_post › Działania WordPress Hooks

Od5.6.0
Przestarzałyn/a
› do_action( 'wp_after_insert_post', $post_id, $post, $update, $post_before )
Parametry: (4)
  • () post_id Post ID.
    Wymagane: Tak
  • () post Post object.
    Wymagane: Tak
  • () update Whether this is an existing post being updated.
    Wymagane: Tak
  • () post_before Null for new posts, the WP_Post object prior to the update for updated posts.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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