SHARE
TWEET

Meta walker: relabel category/tag entries

BakerMan Mar 10th, 2014 138 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_action( 'tribe_pre_get_view', 'change_custom_field_meta_label' );
  2.  
  3. function change_custom_field_meta_label() {
  4.         tribe_set_meta_label( 'tribe_event_tag', 'NEW LABEL!', 'meta' );
  5.         tribe_set_meta_label( 'tribe_event_category', 'NEW LABEL!', 'meta' );
  6. }
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