add_filter('post_grid_atts', 'post_grid_atts_20200614', 10);

function post_grid_atts_20200614( $args){

    $args['custom'] = 'Custom value';

    return $args;
}