Created
December 31, 2018 11:13
-
-
Save madeincosmos/8c6eb528fa95cbc0b5171694c747195d to your computer and use it in GitHub Desktop.
Change WebSite schema in WooCommerce
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
function my_custom_structured_data( $markup ) { | |
$markup['name'] = 'Website name'; | |
return $markup; | |
} | |
add_filter( 'woocommerce_structured_data_website', 'my_custom_structured_data', 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment