verygoodplugins

Untitled

Sep 18th, 2020
879
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter( 'wpf_get_setting_available_tags', function( $tags ) {
  2.  
  3.     foreach ( $tags as $i => $tag ) {
  4.         if ( 'Activity' != $tag['category'] ) {
  5.             unset( $tags[ $i ] );
  6.         }
  7.     }
  8.  
  9.     return $tags;
  10.  
  11. } );
RAW Paste Data