wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema



add_meta_boxes_{$post_type} › Hooks de Ações WordPress

Desde3.0.0
Obsoleton/a
do_action( "add_meta_boxes_{$post_type}", $post )
Parâmetros:
  • (WP_Post) $post Post object.
    Required: Yes
Definido em:
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




Fonte

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