Created
August 29, 2017 16:45
-
-
Save tomharrigan/9573e02b0638830151276f268e7beecc to your computer and use it in GitHub Desktop.
Change the post type used for news functionality in VoiceWP
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
function my_voicewp_post_types( $post_types ) { | |
return array( 'my-custom-post-type' ); | |
} | |
add_filter( 'voicewp_post_types', 'my_voicewp_post_types' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment