boolean_smtp_oauth_providers_register
Fires after the built-in OAuth providers have been registered.
action Tier A Since 1.0.0
Use {@see OAuthProviderRegistry::registerProvider()} from a callback on this action to add a custom OAuth-enabled provider before the registry is first read.
Signature
add_action( 'boolean_smtp_oauth_providers_register', $callback, 10, 1 );Parameters
| Parameter | Type | Description |
|---|---|---|
$registryClass | class-string | Fully qualified name of {@see OAuthProviderRegistry}. |
Fires in
app/Services/OAuth/OAuthProviderRegistry.php:97—BooleanSmtp\Services\OAuth\OAuthProviderRegistry::initialize()
Example
add_action( 'boolean_smtp_oauth_providers_register', function ( string $registryClass ) { // React to the event.}, 10, 1 );Next steps
- Connections and OAuth — every hook in this area, in firing order where that applies.
- Hook Explorer — filter and search every hook.