WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_get_attachment_url

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/post.php apply_filters 6705 /**
* Filters the attachment URL.
*
* @since 2.1.0
*
* @param string $url URL for the given attachment.
* @param int $attachment_id Attachment post ID.
*/

Hook Parameters

Parameter Type Name Description
string $url URL for the given attachment.
int $attachment_id Attachment post ID.