Fires after all built-in meta boxes have been added.
Se déclenche une fois que toutes les boîtes méta intégrées ont été ajoutées.
$post_type, $post
Sortie :
@param string $object_type The type of the current object that meta boxes were added to. @param WP_Post|WP_Comment|object $object The post, comment, or link object. Type varies depending on
add_action('add_meta_boxes', 'add_custom_metabox');
function add_custom_metabox() {
add_meta_box('custom_box', 'Custom Info', 'render_custom_metabox', 'post');
}
Chargement des actualités...