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



do_meta_boxes ›

Depuis3.0.0
Dépréciéen/a
do_action( 'do_meta_boxes', $post_type, 'normal', $post )
Paramètres: (3)
  • (string) $post_type Post type of the post on Edit Post screen, 'link' on Edit Link screen, 'dashboard' on Dashboard screen.
    Requis: Oui
  • (string) $context Meta box context. Possible values include 'normal', 'advanced', 'side'.
    Requis: Oui
  • (WP_Post|object|string) $post Post object on Edit Post screen, link object on Edit Link screen, an empty string on Dashboard screen.
    Requis: Oui
Défini(e) dans:
Codex:

Fires after meta boxes have been added.

Fires once for each of the default meta box contexts: normal, advanced, and side.





Source

do_action( 'do_meta_boxes', $post_type, 'normal', $post );