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

In this article

Filters the registration arguments when registering a setting.

Parameters

$argsarray
Array of setting registration arguments.
$defaultsarray
Array of default arguments.
$option_groupstring
Setting group.
$option_namestring
Setting name.

Source

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

Changelog

VersionDescription
4.7.0Introduced.

User Contributed Notes

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