Skip to content

Instantly share code, notes, and snippets.

@fervous
Forked from bentasm1/functions.php
Last active November 22, 2016 21:41
Show Gist options
  • Save fervous/03703b74b50e5d0af6c65b35c9c78474 to your computer and use it in GitHub Desktop.
Save fervous/03703b74b50e5d0af6c65b35c9c78474 to your computer and use it in GitHub Desktop.
Remove (or customize) Ships From wc vendors pro product meta
/* Remove Ships From in Product Meta */
add_filter( 'wcv_product_ships_from', 'custom_wcv_product_ships_from' );
function custom_wcv_product_ships_from( $ships_from ) {
$ships_from[ 'store_country' ] = '';
$ships_from[ 'title' ] = '';
return $ships_from;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment