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



save_post › WordPress Action Hooks

Seit1.5.0
Veraltetn/v
do_action( 'save_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( 'save_post', $post_id, $post, $update );