Fires after outputting the fields for the inline editor for posts and pages.
$post, $post_type_object
Sortie :
@param WP_Post $post The current post object. @param WP_Post_Type $post_type_object The current post's post type object.
// Ajouter une fonction au hook action 'add_inline_data'
add_action('add_inline_data', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($post, $post_type_object) {
// Votre code ici
error_log('Hook add_inline_data déclenché');
}
Chargement des actualités...