Filters – team_grid_filter_popup_thumbnail

Vew count: 235

You can filter team member thumbnail on grid by filter hook as following.

add_filter('team_grid_filter_popup_thumbnail',  'team_grid_filter_popup_thumbnail_extra' );

function team_grid_filter_popup_thumbnail_extra($thumbnail){
    
    
    $new_thumbnail = get_post_meta(get_the_ID(),'new_thumbnail', true);
    
        return $thumbnail.' <br/> '.$new_thumbnail;
    }