Fires once an existing attachment has been updated.
Se déclenche lorsqu'une pièce jointe existante a été mise à jour.
$post_id
Sortie :
@param int $post_id Attachment ID.
add_action('edit_attachment', 'on_attachment_edit', 10, 1);
function on_attachment_edit($attachment_id) {
error_log('Attachment ' . $attachment_id . ' modified');
}
Chargement des actualités...