Created
December 19, 2014 15:39
-
-
Save alessandrotesoro/734c8149ca57176d2bd8 to your computer and use it in GitHub Desktop.
WPRM Enable Archive
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Enable Taxonomy Archive | |
* @since 1.0.0 | |
*/ | |
function tdp_wprm_enable_taxonomy_archive($args) { | |
$args['exclude_from_search'] = false; | |
return $args; | |
} | |
add_filter( 'wprm_menu_post_type_args','tdp_wprm_enable_taxonomy_archive'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment