Created
April 23, 2020 23:38
-
-
Save igorbenic/fd18b4c272f549f687a4380e606c890b to your computer and use it in GitHub Desktop.
Pets and User Submitted Posts
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 pets_usp_modify_post_type( $post_type ) { | |
return 'pets'; // edit post type as needed | |
} | |
add_filter( 'usp_post_type', 'pets_usp_modify_post_type' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment