wp_get_attachment_metadata

wp_get_attachment_metadata

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

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('wp_get_attachment_metadata') is found 1 times:

  • /wp-includes/post.php line 6782
    	 *
    	 * @param array $data          Array of meta data for the given attachment.
    	 * @param int   $attachment_id Attachment post ID.
    	 */
    	return apply_filters( 'wp_get_attachment_metadata', $data, $attachment_id );
    }
    
    /**
     * Updates metadata for an attachment.
     *
     * @since 2.1.0
    

See this hook used in plugins: