WordPress at a glance
action is not described

register_setting action-hook . WP 5.5.0

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


add_action( 'register_setting', 'action_function_name_9528', 10, 3 );
function action_function_name_9528( $option_group, $option_name, $args ){
	// action...
Setting group.
Setting name.
Array of setting registration arguments.

Список изменений

С версии 5.5.0 Введена.

Где вызывается хук

wp-includes/option.php 2309
do_action( 'register_setting', $option_group, $option_name, $args );

Где используется хук в ядре WP

Использование не найдено.