-
Notifications
You must be signed in to change notification settings - Fork 27
Developer Docs
Description
This filter is executed when the specified MailChimp form is rendered on the front end of your site and can be used to alter the title of a given form.
Usage
Applies to a specific form.
apply_filters( 'yikes-mailchimp-form-title-'.$form_id , apply_filters( 'the_title' , $form_name ) );Parameters
- $form_title
The form title of the specified form to alter.
Examples
This example will alter the form title on the front end of your site, for the MailChimp form with id 1 only.
function alter_mailchimp_form_title( $form_title ) {
$form_title = 'New Form Title';
return $form_title;
}
add_action( 'yikes-mailchimp-form-title-1' , 'alter_mailchimp_form_title' );Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in process_form_shortcode.php.
Description
This filter is executed when the specified MailChimp form is rendered on the front end of your site and can be used to alter the description of a given form.
Usage
Applies to a specific form.
apply_filters( 'yikes-mailchimp-form-description-'.$form_id , $form_description );Parameters
- $form_description
The form description of the specified form to alter.
Examples
This example will alter the form description on the front end of your site, for the MailChimp form with id 1 only.
function alter_mailchimp_form_description( $form_description ) {
$form_description = 'Please enter your email address and name below to sign up for our mailing list.';
return $form_description;
}
add_action( 'yikes-mailchimp-form-description-1' , 'alter_mailchimp_form_description' );Placement
This code should be placed in the functions.php file of your active theme.
Source Code
This filter is located in process_form_shortcode.php.
Home | About YIKES | Setup | Plugin Usage | Developer Documentation | Support | Copyright © 1996-2015 YIKES Inc.