Skip to content

boolean_smtp_pro_register_providers

Fires during plugin boot so the Pro addon can register its service providers.

action Tier A Since 1.0.0

The free plugin never contains Pro logic; this is the extension point the Pro addon hooks into to attach its own bindings, routes, and admin UI.

Signature

add_action( 'boolean_smtp_pro_register_providers', $callback, 10, 1 );

Parameters

ParameterTypeDescription
$app\BooleanSmtp\Core\Container\ApplicationThe application container.

Fires in

Example

boolean_smtp_pro_register_providers.php
add_action( 'boolean_smtp_pro_register_providers', function ( \BooleanSmtp\Core\Container\Application $app ) {
// React to the event.
}, 10, 1 );

Next steps