wordpress/wp-content/themes/basic/themify/themify-builder/includes/optin-services/mailchimp.php
/**
	 * Gets data from module and validates API key
	 *
	 * @return bool|WP_Error
	 */
Gets data from module and validates API key
@return bool|WP_Error
Gets data from module and validates API key @return bool|WP_Error
function check_user_data( $fields_args ) {
		if ( isset( $fields_args['mailchimp_list'] ) ) {
			$mc_list = $this->get_list_info( $fields_args['mailchimp_list'] );
			if ( is_wp_error( $mc_list ) ) {
				return $mc_list;
			} else {
				return true;
			}
		} else {
			return new WP_Error( 'missing_api_key', __( 'No list is selected.', 'themify' ) );
		}
	}
function check_user_data ( $ fields_args ) { if ( isset ( $ fields_args [ 'mailchimp_list' ] ) ) { $ mc_list = $ this -> get_list_info ( $ fields_args [ 'mailchimp_list' ] ) ; if ( is_wp_error ( $ mc_list ) ) { return $ mc_list ; } else { return true ; } } else { return new WP_Error ( 'missing_api_key' , __ ( 'No list is selected.' , 'themify' ) ) ; } }
Gets data from module and validates API key
 @return bool|WP_Error
Gets data from module and validates API key @return bool|WP_Error