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



add_meta_boxes_{$post_type} › WordPress Action Hooks

Seit3.0.0
Veraltetn/v
do_action( "add_meta_boxes_{$post_type}", $post )
Parameter:
  • () object The post, comment, or link object. Type varies depending on the hook name.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after all built-in meta boxes have been added, contextually for the given post type.

The dynamic portion of the hook name, `$post_type`, refers to the post type of the post, or the object type (comment, link). Possible hook names include: - `add_meta_boxes_post` - `add_meta_boxes_page` - `add_meta_boxes_attachment` - `add_meta_boxes_comment` - `add_meta_boxes_link`




Quellcode

do_action( "add_meta_boxes_{$post_type}", $post );