-
-
Save BrElio/e8b2bdb18b480c6c44836c9174038929 to your computer and use it in GitHub Desktop.
Include Download Monitor post type in SearchWP
This file contains hidden or 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 | |
| function my_dlm_cpt_dlm_download_args( $args ) { | |
| $args['exclude_from_search'] = false; | |
| return $args; | |
| } | |
| add_filter( 'dlm_cpt_dlm_download_args', 'my_dlm_cpt_dlm_download_args' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment