do_action( 'clanbite_register_components' )Fires once when components are collected: call clanbite_register_component() here.
Core registers its own (avatar, toasts) first; extensions register theirs (Social Kit: reactions, reaction-summary, reaction-picker, mentions). A third party can replace one with the replace argument.
Action PHP
Parameters
No arguments.
Example
add_action( 'clanbite_register_components', function () {
// Run your code.
}, 10, 0 );Defined in inc/components.php
Changelog
| Version | Description |
|---|---|
| 1.6.3 | Introduced. |