Prevent data from being output on term pages in All in One SEO

Prevent data from being output on term pages in All in One SEO on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'aioseo_disable', 'aioseo_disable_term_output' );

function aioseo_disable_term_output( $disabled ) {
   if ( is_category() || is_tag() || is_tax() ) {
      return true;
   }
   return false;
}

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.