apply_filters( 'wp_get_attachment_thumb_file', string $thumbfile, int $post_id )
- Since
- 2.1.0
Filters the attachment thumbnail file path.
Parameters
$thumbfilestring- File path to the attachment thumbnail.
$post_idint- Attachment ID.
Fired at · 1
wp-includes/deprecated.php:4375wp_get_attachment_thumb_file()
Source
View on Trac ↗View on GitHub ↗
4369 *4370 * @since 2.1.04371 *4372 * @param string $thumbfile File path to the attachment thumbnail.4373 * @param int $post_id Attachment ID.4374 */4375 return apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID );4376 }4377 }4378 4379 return false;4380}4381
History
Introduced in 2.1.0. Unchanged from 6.7.7 through 7.1.0.
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 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.