On this page
apply_filters( 'wp_required_field_message', string $message )
Filters the message to explain required form fields.
Parameters
$messagestring-
Message text and glyph wrapped in a
spantag.
Source
File: wp-includes/general-template.php. View all references
return apply_filters( 'wp_required_field_message', $message );
Related
Used By
| Used By | Description |
|---|---|
| wp_required_field_message() wp-includes/general-template.php | Creates a message to explain required form fields. |
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