wphooks.info - add_meta_boxes_{$post_type}

add_meta_boxes_{$post_type}

(trunk - 5.0-alpha-42993)

The hook occurs in the following file:

wp-admin/edit-form-advanced.php:
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
/**
 * Fires after all built-in meta boxes have been added, contextually for the given post type.
 *
 * The dynamic portion of the hook, `$post_type`, refers to the post type of the post.
 *
 * @since 3.0.0
 *
 * @param WP_Post $post Post object.
 */
do_action( "add_meta_boxes_{$post_type}", $post );

/**
 * Fires after meta boxes have been added.
 *
 * Fires once for each of the default meta box contexts: normal, advanced, and side.
 *
 * @since 3.0.0
 *
 * @param string                $post_type Post type for posts, 'dashboard' for dashboard widgets,