add_meta_boxes_(post_type) хук-событиеWP 3.0.0

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_action( 'add_meta_boxes_(post_type)', 'wp_kama_add_meta_boxes_post_type_action' );

/**
 * Function for `add_meta_boxes_(post_type)` action-hook.
 * 
 * @param WP_Post $post Post object.
 *
 * @return void
 */
function wp_kama_add_meta_boxes_post_type_action( $post ){

	// action...
}
$post(WP_Post)
Post object.

Список изменений

С версии 3.0.0 Введена.

Где вызывается хук

register_and_do_post_meta_boxes()
add_meta_boxes_(post_type)
wp-admin/includes/meta-boxes.php 1731
do_action( "add_meta_boxes_{$post_type}", $post );

Где используется хук в WordPress

Использование не найдено.