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



edit_post_{$post->post_type} › WordPress Action Hooks

Seit5.1.0
Veraltetn/v
do_action( "edit_post_{$post->post_type}", $post_id, $post )
Parameter: (2)
  • () post_id Post ID.
    Erforderlich: Ja
  • () post Post object.
    Erforderlich: Ja
Definiert in:
Codex:

Fires once an existing post has been updated.

The dynamic portion of the hook name, `$post->post_type`, refers to the post type slug. Possible hook names include: - `edit_post_post` - `edit_post_page`




Quellcode

do_action( "edit_post_{$post->post_type}", $post_id, $post );