Skip to content

Instantly share code, notes, and snippets.

@barrykooij
Created April 3, 2019 10:52
Show Gist options
  • Save barrykooij/450c4012090dccb0d482cdca43a1b215 to your computer and use it in GitHub Desktop.
Save barrykooij/450c4012090dccb0d482cdca43a1b215 to your computer and use it in GitHub Desktop.
add_action( 'dlm_page_addon_get_category_args', function ( $args ) {
$args['orderby'] = 'ID';
$args['order'] = 'DESC';
return $args;
}, 11, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment