Clanbite Matches

apply_filters( 'clanbite_matches_defaults', array<string, mixed> $defaults )

Filter default Matches extension settings before they are merged with stored options.

Filter PHP

Parameters

$defaults (array<string, mixed>)

Keyed by option field id.

Example

add_filter( 'clanbite_matches_defaults', function ( $defaults ) {
	// Change $defaults here.
	return $defaults;
}, 10, 1 );

Defined in inc/extensions/matches/class-extension-matches-admin.php