LLMS_Abstract_Email_Provider::disable_other_providers()
Automatically disables other providers when the current provider is connected.
Return Return
(void.)
Source Source
File: includes/abstracts/llms-abstract-email-provider.php
protected function disable_other_providers() {
$disable = array_diff( $this->providers, array( $this->id ) );
foreach ( $disable as $id ) {
add_filter( 'llms_disable_' . $id, '__return_true' );
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.40.0 | Introduced. |