apply_filters( 'register_setting_args', array $args, array $defaults, string $option_group, string $option_name )

Filters the registration arguments when registering a setting.


Parameters

$args array
Array of setting registration arguments.
$defaults array
Array of default arguments.
$option_group string
Setting group.
$option_name string
Setting name.

Top ↑

Source

File: wp-includes/option.php. View all references

$args = apply_filters( 'register_setting_args', $args, $defaults, $option_group, $option_name );


Top ↑

Changelog

Changelog
Version Description
4.7.0 Introduced.

Top ↑

User Contributed Notes

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