Skip to content

Actions and filters

Settings: 1 hooks.

Every hook here has a description in the source.

1 action0 filters

action

davo_settings_group_saved

Fires after a settings group has been saved through the REST settings endpoint.

Parameters of davo_settings_group_saved
ParameterTypeDescription
$option_groupstringThe option group name.
$clean_valuesarray<string, mixed>The saved (validated) values.
add_action
add_action( 'davo_settings_group_saved', 'my_action_callback', 10, 2 );

/**
 * @param string $option_group
 * @param array<string, mixed> $clean_values
 */
function my_action_callback( $option_group, $clean_values ) {
	// Your code here.
}

src/domains/settings/repository.php:100

Note. Generated from the plugin source. Descriptions and parameters are the ones written in the code. The starter code uses the parameter names from those comments, or generic names where there are none, so check them against your use.

See it on your own site.

Davo is a WordPress theme and plugin by Exorex.

  • Runs on your own WordPress
  • Guided setup wizard
  • AI is off until you switch it on
  • Read the licence on the marketplace first