BakerMan

Meta walker: relabel category/tag entries

Mar 10th, 2014
159
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