Clanbite Extensions

apply_filters( 'clanbite_extension_templates', array<string, array<string, string>> $templates, Skeleton $extension )

Filter templates for all extensions.

Filter PHP

Parameters

$templates (array<string, array<string, string>>)

Template definitions.

$extension (Skeleton)

Extension object.

Example

add_filter( 'clanbite_extension_templates', function ( $templates, $extension ) {
	// Change $templates here.
	return $templates;
}, 10, 2 );

Defined in inc/extensions/class-extension-skeleton.php