Home / Admin / Prevent AlOSEO from outputting any data on term pages
Duplicate Snippet

Embed Snippet on Your Site

Prevent AlOSEO from outputting any data on term pages

This snippet can be used to prevent AlOSEO from outputting any data on term pages

<10
Code Preview
php
<?php
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;
}

Comments

Add a Comment