first commit
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @use mc4wp_add_name_merge_vars()
|
||||
* @deprecated 4.0
|
||||
* @ignore
|
||||
*
|
||||
* @param array $merge_vars
|
||||
* @return array
|
||||
*/
|
||||
function mc4wp_guess_merge_vars($merge_vars = array())
|
||||
{
|
||||
_deprecated_function(__FUNCTION__, 'Mailchimp for WordPress v4.0');
|
||||
$merge_vars = mc4wp_add_name_data($merge_vars);
|
||||
$merge_vars = _mc4wp_update_groupings_data($merge_vars);
|
||||
return $merge_vars;
|
||||
}
|
||||
|
||||
/**
|
||||
* Echoes a sign-up checkbox.
|
||||
*
|
||||
* @ignore
|
||||
* @deprecated 3.0
|
||||
*
|
||||
* @use mc4wp_get_integration()
|
||||
*/
|
||||
function mc4wp_checkbox()
|
||||
{
|
||||
_deprecated_function(__FUNCTION__, 'Mailchimp for WordPress v3.0');
|
||||
mc4wp_get_integration('wp-comment-form')->output_checkbox();
|
||||
}
|
||||
|
||||
/**
|
||||
* Echoes a Mailchimp for WordPress form
|
||||
*
|
||||
* @ignore
|
||||
* @deprecated 3.0
|
||||
* @use mc4wp_show_form()
|
||||
*
|
||||
* @param int $id
|
||||
* @param array $attributes
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
*/
|
||||
function mc4wp_form($id = 0, $attributes = array())
|
||||
{
|
||||
_deprecated_function(__FUNCTION__, 'Mailchimp for WordPress v3.0', 'mc4wp_show_form');
|
||||
return mc4wp_show_form($id, $attributes);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated 4.1.12
|
||||
* @return string
|
||||
*/
|
||||
function mc4wp_get_current_url()
|
||||
{
|
||||
return $mc4wp_get_current_url();
|
||||
}
|
||||
Reference in New Issue
Block a user