BakerMan

Stop Tribe from adding noindex to month view (TEC 2.0.11)

May 23rd, 2013
2,342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.16 KB | None | 0 0
  1. add_action('wp_head', 'kill_tribe_noindex', 1);
  2.  
  3. function kill_tribe_noindex() {
  4.     remove_action('wp_head', array(TribeEvents::instance(), 'noindex_months'));
  5. }
Advertisement
Add Comment
Please, Sign In to add comment