-
-
Save BrElio/218a4e549d9313d884094024606090fd to your computer and use it in GitHub Desktop.
Include Download Monitor post type in SearchWP
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 | |
function my_dlm_cpt_dlm_download_args( $args ) { | |
$args['exclude_from_search'] = false; | |
$args['public'] = true; | |
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