eventsmanager

add support to revisions

Oct 11th, 2013 (edited)
433
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3. This snippet will add support to post revisions at event CPT
  4. For installation instructions, see here - http://wp-events-plugin.com/tutorials/how-to-safely-add-php-code-to-wordpress/
  5.  */
  6. function em_mod_support($supports){
  7.     $supports[] = 'revisions';
  8.     return $supports;
  9. }
  10. add_filter('em_cp_event_supports','em_mod_support',1,1);
RAW Paste Data