/* * Remove the default WooCommerce 3 JSON/LD structured data format */ function remove_output_structured_data() { remove_action( 'wp_footer', array( WC()->structured_data, 'output_structured_data' ), 10 ); // Frontend pages remove_action( 'woocommerce_email_order_details', array( WC()->structured_data, 'output_email_structured_data' ), 30 ); // Emails } add_action( 'init', 'remove_output_structured_data' );
Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/xenangtrung/public/wp-content/themes/tomoko/functions.php:44) in /srv/users/serverpilot/apps/xenangtrung/public/wp-content/plugins/yith-woocommerce-compare/includes/class.yith-woocompare-frontend.php on line 598

Warning: Cannot modify header information - headers already sent by (output started at /srv/users/serverpilot/apps/xenangtrung/public/wp-content/themes/tomoko/functions.php:44) in /srv/users/serverpilot/apps/xenangtrung/public/wp-includes/pluggable.php on line 1219