wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



add_meta_boxes_{$post_type} › Les Actions WordPress

Depuis3.0.0
Dépréciéen/a
do_action( "add_meta_boxes_{$post_type}", $post )
Paramètres:
  • (WP_Post) $post Post object.
    Requis: Oui
Défini(e) dans:
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.

Possible hook names include:

  • add_meta_boxes_post
  • add_meta_boxes_page
  • add_meta_boxes_attachment




Source

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