<?php
add_action('edit_form_after_editor', 'callback__edit_form_top');
function callback__edit_form_top($post) {
?>
<div style="margin-top: 10px; padding: 15px; color: #fff; background: #673AB7; clear: both;">
Exemple d'un contenu placé sur le hook <b>edit_form_after_editor</b>.<br />
Liste des hooks disponibles et leurs positions <a href="https://wp-kama.com/123/hooks-on-the-edit-post-admin-page" style="color: #ff0000;">par ici</a>.<br />
On peut cibler un CPT spécifique en contrôlant la valeur de <i>$post->post_type</i>.
</div>
<?php
}
Comments