Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // data to send in our API request
- $api_params = array(
- 'edd_action' => 'check_license',
- 'license' => $license_key,
- 'item_name' => urlencode( 'WP Fusion' ),
- 'author' => 'Very Good Plugins',
- 'url' => home_url(),
- 'crm' => wp_fusion()->crm->name,
- 'integrations' => $integrations,
- 'version' => WP_FUSION_VERSION
- );
- // Call the custom API.
- $response = wp_remote_post( WPF_STORE_URL, array(
- 'timeout' => 30,
- 'sslverify' => false,
- 'body' => $api_params
- ) );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement