Created
December 12, 2017 05:49
-
-
Save rahularyan/d3f95e9697d45e286b6b14bb948103d4 to your computer and use it in GitHub Desktop.
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
<?php | |
/** | |
* Filters question CPT args. | |
*/ | |
function my_ap_question_cpt_args( $args ) { | |
$args['exclude_from_search'] = false; | |
return $args; | |
} | |
add_filter( 'ap_question_cpt_args', 'my_ap_question_cpt_args' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks Rahul!