MP_Addon_ConstantContact_Settings::constant_contact_access( $args )
Constant Contact get access token callback function.
Contents
Parameters Parameters
- $args
-
(Required)
Source Source
File: calculator-constant-contact-add-on/inc/MP_Addon_ConstantContact_Settings.php
public function constant_contact_access($args){
if ( !empty( get_option( MortgagePlatform::$prefix . 'constant_contact' )['constant_contact_api_key'] ) &&
!empty( get_option( MortgagePlatform::$prefix . 'constant_contact' )['constant_contact_secret'] ) &&
!empty( get_option( MortgagePlatform::$prefix . 'constant_contact' )['constant_contact_redirect_uri'] )
) {
echo $this->get_token_button($args);
} else {
echo '<p>' . __("Please enter api key, secret, redirect url.", "CalculatorsConstantContactAddon") . '</p>';
}
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |