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 of setting registration arguments.

$defaults

Array of default arguments.

$option_group

Setting group.

$option_name

Setting name.


Source

File: wp-includes/option.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.7.0 Introduced.