apply_filters ( 'jetpack_required_field_text', string $var )

Filter the Contact Form required field text

Source file: modules/contact-form/grunion-contact-form.php

View in GitHub

Parameters

$var

(string) Required field text. Default is ”(required)”.


Changelog

Since: Jetpack 3.8.0


Notes

You can use that filter to change the “Required” text in the Contact Form. Here is an example:

function jeherve_custom_required() {
    return 'this is important';
}
add_filter( 'jetpack_required_field_text', 'jeherve_custom_required' );

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s