do_action( 'register_setting', string $option_group, string $option_name, array $args )

Fires immediately before the setting is registered but after its filters are in place.


Parameters

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

Top ↑

Source

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

do_action( 'register_setting', $option_group, $option_name, $args );


Top ↑

Changelog

Changelog
Version Description
5.5.0 Introduced.

Top ↑

User Contributed Notes

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