daily pastebin goal
51%
SHARE
TWEET

Add author support for organizers/venues

BakerMan Mar 28th, 2014 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action( 'init', 'add_author_support_orgs_venues' );
  2.  
  3. function add_author_support_orgs_venues() {
  4.         if ( ! class_exists( 'TribeEvents' ) ) return;
  5.         add_post_type_support( TribeEvents::VENUE_POST_TYPE, 'author' );
  6.         add_post_type_support( TribeEvents::ORGANIZER_POST_TYPE, 'author' );
  7. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top