do_meta_boxes

FUNCTION wp-admin\includes\template.php (ligne 1282) github
Meta-Box template function.

Paramètres

Entrée :
$screen, $context, $data_object
Sortie :
@param string|WP_Screen $screen      The screen identifier. If you have used add_menu_page() or
@param string           $context     The screen context for which to display meta boxes.
@param mixed            $data_object Gets passed to the meta box callback function as the first parameter.
@return int Number of meta_boxes.

Utilisation

// Utilisation de la fonction do_meta_boxes
$result = do_meta_boxes($screen, $context, $data_object);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...