LLMS_Abstract_Email_Provider::__construct()
Constructor.
Return Return
(void)
Source Source
File: includes/abstracts/llms-abstract-email-provider.php
public function __construct() { /** * Filter the available email providers * * @since 3.40.0 * * @param string[] $this->providers List of email provider ids. */ $this->providers = apply_filters( 'llms_email_delivery_providers', $this->providers ); /** * Dynamically adjust the priority. * * A "connected" provider will always load first, ensuring * that it can disable the other providers. * * When no providers are connected, they'll all load at 10 * and display in alphabetical order as a result of the order * the files are included. */ $priority = $this->is_connected() ? 5 : 10; add_action( 'admin_init', array( $this, 'init' ), $priority ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.40.0 | Introduced. |