wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



add_meta_boxes_{$post_type} › Działania WordPress Hooks

Od3.0.0
Przestarzałyn/a
do_action( "add_meta_boxes_{$post_type}", $post )
Parametry:
  • (WP_Post) $post Post object.
    Wymagane: Tak
Zdefiniowane na:
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




Źródło

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