apply_filters( 'wp_get_attachment_thumb_url', string $thumbnail_url, int $post_id )
- Since
- 2.1.0
Filters the attachment thumbnail URL.
Parameters
$thumbnail_urlstring- URL for the attachment thumbnail.
$post_idint- Attachment ID.
Fired at · 1
wp-includes/post.php:7320wp_get_attachment_thumb_url()
Source
* * @since 2.1.0 * * @param string $thumbnail_url URL for the attachment thumbnail. * @param int $post_id Attachment ID. */ return apply_filters( 'wp_get_attachment_thumb_url', $thumbnail_url, $post_id );} /** * Verifies an attachment is of a given type. * * @since 4.2.0History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.