Skip to content

Instantly share code, notes, and snippets.

@toddlahman
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toddlahman/8974260 to your computer and use it in GitHub Desktop.
Save toddlahman/8974260 to your computer and use it in GitHub Desktop.
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
[_api_software_title_parent] => API Manager Example
[_api_software_title_var] =>
[software_title] => API Manager Example
[parent_product_id] => 10
[variable_product_id] =>
[current_version] => 1.3
[_api_activations] =>
[_api_activations_parent] => 5
[_api_update_permission] => yes
[is_variable_product] => no
[license_type] =>
[expires] =>
[_purchase_time] => 2014-02-10 04:23:36
[_api_was_activated] =>
[api_key] => wc_order_52f8c4c896636_am_6wcotdeElO4l
[activated] => 1
[instance] => wL3qHpt8HYJ7
[message] => 4 out of 5 activations remaining
[time] => 1392276886
)
[message] => 4 out of 5 activations remaining
[timestamp] => 1392276886
[sig] => secret=null&activated=true&instance=wL3qHpt8HYJ7&extra=Array&message=4 out of 5 activations remaining&timestamp=1392276886
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment