Skip to content

Instantly share code, notes, and snippets.

@dechov
Last active December 22, 2017 20:11
Show Gist options
  • Save dechov/3294f38ea8bec4504c49258a5c33e513 to your computer and use it in GitHub Desktop.
Save dechov/3294f38ea8bec4504c49258a5c33e513 to your computer and use it in GitHub Desktop.
Point WooCommerce Services to Staging Server
<?php
/*
Plugin Name: Point WooCommerce Services to Staging Server
Description: Sets WCS server URL to api-staging.woocommerce.com
Version: 1.0
*/
define( 'WOOCOMMERCE_CONNECT_SERVER_URL', 'https://api-staging.woocommerce.com/' );
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment