Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'init', 'add_author_support_orgs_venues' );
- function add_author_support_orgs_venues() {
- if ( ! class_exists( 'TribeEvents' ) ) return;
- add_post_type_support( TribeEvents::VENUE_POST_TYPE, 'author' );
- add_post_type_support( TribeEvents::ORGANIZER_POST_TYPE, 'author' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement