Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'fiat/restrict_post_types', 'your_theme_name_restrict_post_types' );
- function your_theme_name_restrict_post_types( $post_types ) {
- array_push($post_types, 'wc_user_membership' );
- return $post_types;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement