/woocommerce-rest-api.php Secret
Created
February 10, 2014 12:35
Star
You must be signed in to star a gist
This file contains 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
<?php | |
// Include the client library | |
require_once 'class-wc-api-client.php'; | |
$consumer_key = 'ck_fcedaba8f0fcb0fb4ae4f1211a75da72'; // Add your own Consumer Key here | |
$consumer_secret = 'cs_9914968ae9adafd3741c818bf6d704c7'; // Add your own Consumer Secret here | |
$store_url = 'http://localhost/'; // Add the home URL to the store you want to connect to here | |
// Initialize the class | |
$wc_api = new WC_API_Client( $consumer_key, $consumer_secret, $store_url ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment