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



wp_insert_post › Działania WordPress Hooks

Od2.0.0
Przestarzałyn/a
› do_action( 'wp_insert_post', $post_id, $post, $update )
Parametry: (3)
  • () post_id Post ID.
    Wymagane: Tak
  • () post Post object.
    Wymagane: Tak
  • () update Whether this is an existing post being updated.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Fires once a post has been saved.





Źródło

do_action( 'wp_insert_post', $post_id, $post, $update );