Created
January 26, 2026 09:30
-
-
Save wp-seopress/d0930fa0fcb272fe688a5d3d3b6d260d to your computer and use it in GitHub Desktop.
Filter to disable WooCommerce shippingDetails schema generation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Enable shipping details | |
| add_filter( 'seopress_pro_wc_schema_shipping_details_enabled', '__return_true' ); | |
| // Disable shipping details | |
| add_filter( 'seopress_pro_wc_schema_shipping_details_enabled', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment