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



do_meta_boxes ›

Seit3.0.0
Veraltetn/v
do_action( 'do_meta_boxes', $post_type, 'normal', $post )
Parameter: (3)
  • (string) $post_type Post type of the post on Edit Post screen, 'link' on Edit Link screen, 'dashboard' on Dashboard screen.
    Erforderlich: Ja
  • (string) $context Meta box context. Possible values include 'normal', 'advanced', 'side'.
    Erforderlich: Ja
  • (WP_Post|object|string) $post Post object on Edit Post screen, link object on Edit Link screen, an empty string on Dashboard screen.
    Erforderlich: Ja
Definiert in:
Codex:

Fires after meta boxes have been added.

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





Quellcode

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