aioseo_schema_disable
-
This is the code for WooCommerce,
What should I change for my site?add_filter( ‘aioseo_schema_disable’, ‘aioseo_disable_schema_products’ );
function aioseo_disable_schema_products( $disabled ) {
if ( is_singular( ‘product’ ) && aioseo()->helpers->isWooCommerceActive() ) {
return true;
}
return $disabled;
}The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘aioseo_schema_disable’ is closed to new replies.