apply_filters( ‘wp_required_field_message’, string $message )

In this article

Filters the message to explain required form fields.

Parameters

$messagestring
Message text and glyph wrapped in a span tag.

Source

return apply_filters( 'wp_required_field_message', $message );

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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