HEX
Server: Apache/2
System: Linux ws03 5.14.0-570.44.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Sep 17 10:32:11 EDT 2025 x86_64
User: keesdewit (1017)
PHP: 8.3.30
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/keesdewit/public_html/wp-content/themes/enfold/includes/admin/option_tabs/avia_newsletter.php
<?php
/**
 * Newsletter Tab
 * ==============
 *
 * @since 4.8.2
 */
if( ! defined( 'ABSPATH' ) ) {  exit;  }    // Exit if accessed directly

global $avia_config, $avia_pages, $avia_elements;



$avia_elements[] = array(
			'slug'		=> 'newsletter',
			'name'		=> 	__( 'Newsletter via Mailchimp', 'avia_framework' ),
			'desc'		=> __( 'Mailchimp allows you to easily use newsletter functionality with this theme. In order to use the Newsletter features you need to create a Mailchimp account and enter your API key into the field below.', 'avia_framework' ) . "<br/><br/><a href='https://admin.mailchimp.com/account/api' target='_blank' rel='noopener noreferrer'>" . __( 'You can find your API key here', 'avia_framework' ) . '</a>',
			'type'		=> 'heading',
			'std'		=> '',
			'nodescription'	=> true
		);

$avia_elements[] =	array(
			'slug'		=> 'newsletter',
			'name'		=> __( 'Enter a valid Mailchimp API Key to use all newsletter related theme functions', 'avia_framework' ),
			'desc'		=> false,
			'id'		=> 'mailchimp_api',
			'type'		=> 'verification_field',
			'std'		=> '',
			'help'		=> '',
			'ajax'		=> 'av_mailchimp_check_ajax',
			'button-label'		=> __( 'Check API Key', 'avia_framework' ),
			'button-relabel'	=> __( 'Check Key again & renew Lists', 'avia_framework' )
		);

$avia_elements[] = array(
			'slug'      => 'newsletter',
			'name'      => __( 'Last verified key - hidden - used for internal use only', 'avia_framework' ),
			'desc'      => '',
			'id'        => 'mailchimp_verified_key',
			'type'      => 'hidden',
			'std'       => '',
		);