wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_insert_post › WordPress Action Hooks

Seit2.0.0
Veraltetn/v
do_action( 'wp_insert_post', $post_id, $post, $update )
Parameter: (3)
  • () post_id Post ID.
    Erforderlich: Ja
  • () post Post object.
    Erforderlich: Ja
  • () update Whether this is an existing post being updated.
    Erforderlich: Ja
Definiert in:
Codex:

Fires once a post has been saved.





Quellcode

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