wordpress / latest / hooks / wp_required_field_message.html

apply_filters( 'wp_required_field_message', string $message )

Filters the message to explain required form fields.

Parameters

$message string
Message text and glyph wrapped in a span tag.

Source

File: wp-includes/general-template.php. View all references

return apply_filters( 'wp_required_field_message', $message );

Used By

Used By Description

Changelog

Version Description
6.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_required_field_message