Skip to content

Instantly share code, notes, and snippets.

@barrykooij
Created February 25, 2019 11:35
Show Gist options
  • Save barrykooij/f3b47c9c290fa0cc5be9bddafc4a61db to your computer and use it in GitHub Desktop.
Save barrykooij/f3b47c9c290fa0cc5be9bddafc4a61db to your computer and use it in GitHub Desktop.
add_filter( 'dlm_page_addon_get_category_args', function ( $args ) {
$args['parent'] = 0;
return $args;
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment