apply_filters( 'clanbite_components', array<string, array<string, mixed>> $components )Filters the registered components, for example to remove or swap one site-wide.
Filter PHP
Parameters
$components(array<string, array<string, mixed>>)Definitions keyed by slug.
Example
add_filter( 'clanbite_components', function ( $components ) {
// Change $components here.
return $components;
}, 10, 1 );Defined in inc/components.php
Changelog
| Version | Description |
|---|---|
| 1.6.3 | Introduced. |