Skip to content

Instantly share code, notes, and snippets.

View toddlahman's full-sized avatar

Todd Lahman toddlahman

View GitHub Profile
@toddlahman
toddlahman / gist:8703556
Last active August 29, 2015 13:55
API Manager Software Activation URL Query Example
http://localhost/toddlahman/?wc-api=am-software-api&email=toddlahman%40todds-macbook-pro.local&licence_key=wc_order_52ac24ebed6b0_am_HxntrDLPdYsM&request=activation&product_id=API+Manager+Example&instance=gueGHcbrkdBQ&platform=localhost%2Ftoddlahman&software_version=1.3
@toddlahman
toddlahman / gist:8705314
Last active August 29, 2015 13:55
API Manager Software Deactivation URL Query Example
http://localhost/toddlahman/?wc-api=am-software-api&email=toddlahman%40todds-macbook-pro.local&licence_key=wc_order_52ac24ebed6b0_am_HxntrDLPdYsM&request=deactivation&product_id=API+Manager+Example&instance=gueGHcbrkdBQ&platform=localhost%2Ftoddlahman
@toddlahman
toddlahman / gist:8706318
Last active August 29, 2015 13:55
API Manager Software Update Query URL Example
http://localhost/toddlahman/?wc-api=upgrade-api&request=plugininformation&plugin_name=api-manager-plugin-example%2Fapi-manager-example.php&version=1.3&product_id=API+Manager+Example&api_key=wc_order_52ac24ebed6b0_am_HxntrDLPdYsM&activation_email=toddlahman%40todds-macbook-pro.local&instance=gueGHcbrkdBQ&domain=localhost%2Ftoddlahman&software_version=1.3&extra=
@toddlahman
toddlahman / gist:8706464
Created January 30, 2014 11:05
API Manager Lost API Page Shortcode
[woocommerce_api_manager_lost_api_key]
define(‘DISABLE_WP_CRON’, true);
crontab -e
0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58 * * * * wget -q -O - http://www.mydomainname.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1
@toddlahman
toddlahman / gist:8974133
Last active August 29, 2015 13:56
API Manager Status Query String
http://localhost/toddlahman/?wc-api=am-software-api&email=toddlahman%40todds-macbook-pro.local&licence_key=wc_order_52ac24ebed6b0_am_HxntrDLPdYsM&request=status&product_id=API+Manager+Example&instance=gueGHcbrkdBQ&platform=localhost%2Ftoddlahman
@toddlahman
toddlahman / gist:8974260
Last active August 29, 2015 13:56
API Manager api_manager_extra_software_activation_data filter hook data array example.
Array
(
[activated] => 1
[instance] => wL3qHpt8HYJ7
[activation_extra] => Array
(
[user_id] => 2
[order_id] => 18
[order_key] => wc_order_52f8c4c896636
[license_email] => toddlahman@todds-macbook-pro.local
@toddlahman
toddlahman / gist:8974499
Created February 13, 2014 12:48
API Manager api_manager_extra_software_status_data filter hook data array example.
Array
(
[status_check] => active
[status_extra] => Array
(
[order_key] => wc_order_52f8c4c896636_am_6wcotdeElO4l
[instance] => FIT0DTcFYUgd
[product_id] => API Manager Example
[activation_time] => 2014-02-13 02:40:46
[activation_active] => 1