WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about update_attached_file

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 774 /**
* Filters the path to the attached file to update.
*
* @since 2.1.0
*
* @param string $file Path to the attached file to update.
* @param int $attachment_id Attachment ID.
*/

Hook Parameters

Parameter Type Name Description
string $file Path to the attached file to update.
int $attachment_id Attachment ID.