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:4376wp_get_attachment_thumb_file()
Source
View on Trac ↗View on GitHub ↗
4370 *4371 * @since 2.1.04372 *4373 * @param string $thumbfile File path to the attachment thumbnail.4374 * @param int $post_id Attachment ID.4375 */4376 return apply_filters( 'wp_get_attachment_thumb_file', $thumbfile, $post->ID );4377 }4378 }4379 4380 return false;4381}4382
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 6.8.8 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.