mc4wp_get_api_v3 ()

Gets the MailChimp for WP API class (v3) and injects it with the API key

Return: (MC4WP_API_v3)

Source file: functions.php

View source


Used by


Source

function mc4wp_get_api_v3() {
	$opts = mc4wp_get_options();
	$instance = new MC4WP_API_v3( $opts['api_key'] );
	return $instance;
}


Changelog

  • Since: WordPress 4.0

User Contributed Notes

You must log in before being able to contribute a note.