Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save wp-seopress/d0930fa0fcb272fe688a5d3d3b6d260d to your computer and use it in GitHub Desktop.

Select an option

Save wp-seopress/d0930fa0fcb272fe688a5d3d3b6d260d to your computer and use it in GitHub Desktop.
Filter to disable WooCommerce shippingDetails schema generation
// 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