Usage
add_filter( 'admin_post_thumbnail_size', 'your_callback_function', 10, 3 );Filter Callback:
function your_callback_function( $size, $thumbnail_id, $post ) {
// Your code here
return $size;
}Parameters
$sizeParameter 1
$thumbnail_idParameter 2
$postParameter 3
🔄 Filter Hook
Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.