Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $license_key = 'XXXXXX';
- include_once ( 'wp-load.php' );
- global $wp_version;
- $args = array(
- 'woo_sl_action' => 'activate',
- 'product_unique_id' => APTO_PRODUCT_ID,
- 'licence_key' => $license_key,
- 'domain' => APTO_INSTANCE,
- );
- $request_uri = APTO_APP_API_URL . '?' . http_build_query( $args , '', '&');
- $data = wp_remote_get( $request_uri, array(
- 'timeout' => 20,
- 'user-agent' => 'WordPress/' . $wp_version . '; APTO/' . APTO_VERSION .'; ' . get_bloginfo( 'url' ),
- ) );
- print_r ( $data );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement