Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Mailchimp_Helpers::add_mailchimp_api_settings( $tabs )
Contents
Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830
Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Parameters Parameters
- $tabs
(Required)
Return Return
(mixed)
Source Source
File: src/integrations/mailchimp/helpers/mailchimp-helpers.php
public function add_mailchimp_api_settings( $tabs ) { if ( $this->has_valid_license() || $this->has_connection_data() || $this->is_from_modal_action() ) { $is_uncannyowl_mailchimp_settings_expired = get_option( '_uncannyowl_mailchimp_settings_expired', false ); $tab_url = admin_url( 'edit.php' ) . '?post_type=uo-recipe&page=uncanny-automator-settings&tab=' . $this->setting_tab; $tabs[ $this->setting_tab ] = array( 'name' => __( 'Mailchimp', 'uncanny-automator' ), 'title' => __( 'Mailchimp account settings', 'uncanny-automator' ), 'description' => __( '<p>Connecting to Mailchimp requires signing into your account to link it to Automator. To get started, click the "Connect an account" button below or the "Change account" button if you need to connect a new account. Uncanny Automator can only connect to a single Mailchimp account at one time. (It is not possible to set some recipes up under one account and then switch accounts, all recipes are mapped to the account selected on this page and existing recipes may break if they were set up under another account.)</p>', 'uncanny-automator' ) . $this->get_user_info(), 'is_pro' => false, 'is_expired' => $is_uncannyowl_mailchimp_settings_expired, 'settings_field' => 'uap_automator_mailchimp_api_settings', 'wp_nonce_field' => 'uap_automator_mailchimp_api_nonce', 'save_btn_name' => 'uap_automator_mailchimp_api_save', 'save_btn_title' => __( 'Connect mailchimp Sheets', 'uncanny-automator' ), 'fields' => array(), ); } return $tabs; }
Expand full source code Collapse full source code View on Github