attachment_updated

attachment_updated

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

do_action('attachment_updated') is found 1 times:

  • /wp-includes/post.php line 4741
    			 * @param int     $post_id      Post ID.
    			 * @param WP_Post $post_after   Post object following the update.
    			 * @param WP_Post $post_before  Post object before the update.
    			 */
    			do_action( 'attachment_updated', $post_id, $post_after, $post_before );
    		} else {
    
    			/**
    			 * Fires once an attachment has been added.
    			 *
    			 * @since 2.0.0
    

See this hook used in plugins: