-
Notifications
You must be signed in to change notification settings - Fork 0
microsub_adapter_registered
github-actions[bot] edited this page Jan 2, 2026
·
2 revisions
Fires when an adapter is registered.
/**
* Fires when an adapter is registered.
*
* @param Microsub\Adapter $this
*/
function my_microsub_adapter_registered_callback( Microsub\Adapter $this ) {
// Your code here.
}
add_action( 'microsub_adapter_registered', 'my_microsub_adapter_registered_callback' );-
Microsub\Adapter$thisThe adapter instance.
\do_action( 'microsub_adapter_registered', $this )