Fires before the help hint text in the 'Page Attributes' meta box.
$post
Sortie :
@param WP_Post $post The current post.
// Ajouter une fonction au hook action 'page_attributes_misc_attributes'
add_action('page_attributes_misc_attributes', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($post) {
// Votre code ici
error_log('Hook page_attributes_misc_attributes déclenché');
}
Chargement des actualités...