Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action('init', 'add_premise_member_support');
- function add_premise_member_support( $post_type ) {
- $post_type= 'CPT name'; //add the name of your CPT here.
- add_post_type_support( $post_type, 'premise-member-access' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement