Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( empty( $options['aweber_token'] ) && ! isset( $_GET['oauth_token'] ) ) {
- try {
- $this->crm->connect();
- $redirect_uri = get_admin_url() . 'options-general.php?page=wpf-settings#setup';
- $redirect_uri = apply_filters( 'wpf_aweber_redirect_uri', $redirect_uri );
- list($request_token, $request_token_secret) = $this->crm->app->getRequestToken( $redirect_uri );
- setcookie('request_token_secret', $request_token_secret );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement