apply_filters( ‘wp_required_field_indicator’, string $indicator )

In this article

Filters the markup for a visual indicator of required form fields.

Parameters

$indicatorstring
Markup for the indicator element.

Source

return apply_filters( 'wp_required_field_indicator', $indicator );

Changelog

VersionDescription
6.1.0Introduced.

User Contributed Notes

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