Fires before post meta HTML display. Allow output of additional post meta info to be added by child themes and plugins.
$post_id, $post_meta, $location
Sortie :
@param int $post_id Post ID. @param array $post_meta An array of post meta information. @param string $location The location where the meta is shown.
// Ajouter une fonction au hook action 'twentytwenty_start_of_post_meta_list'
add_action('twentytwenty_start_of_post_meta_list', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($post_id, $post_meta, $location) {
// Votre code ici
error_log('Hook twentytwenty_start_of_post_meta_list déclenché');
}
Chargement des actualités...