Snippets: Tweak The Visual Composer Total Grid Filter Links Arguments

/**
 * Tweak the VC portfolio grid filter arguments 
 *
 * @link https://codex.wordpress.org/Function_Reference/get_terms
 */
function my_portfolio_grid_filter_args( $args ) {
    $args['order']  = 'DESC';
    return $args;
}
add_filter( 'vcex_portfolio_grid_filter_args', 'my_portfolio_grid_filter_args' );

Version Required:2.0.2+

Snippet Type: PHP

Posted Under: Portfolio

All PHP snippets should be added via a child theme's functions.php file.