| Server IP : 52.25.153.185 / Your IP : 216.73.217.131 Web Server : Apache System : Linux ip-172-26-6-158 5.10.0-35-cloud-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64 User : daemon ( 1) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /bitnami/wordpress/wp-content/plugins/schema/includes/integrations/ |
Upload File : |
<?php
/**
* WooCommerce
*
*
* Integrate with WooCommerce plugin
*
* plugin url: https://wordpress.org/plugins/woocommerce/
* @since 1.6.9.5
*/
// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;
add_filter( 'schema_wp_breadcrumb_enabled', 'schema_wp_breadcrumb_woo_product_disable' );
/*
* Disable breadcrumbs on WooCommerce
*
* @since 1.6.9.5
*/
function schema_wp_breadcrumb_woo_product_disable( $breadcrumb_enabled ){
if ( class_exists( 'woocommerce' ) ) {
if ( is_woocommerce() ) return false;
}
return true;
}