LLMS_Abstract_Email_Provider::init()
Initialize the Connector
Return Return
(void)
Source Source
File: includes/abstracts/llms-abstract-email-provider.php
public function init() { // Disable other email delivery services if the current connector is already connected. if ( $this->is_connected() ) { $this->disable_other_providers(); } /** * Disable the Connector class and settings * * The dynamic portion of this filter, `{$this->id}`, refers * to the id of the email provider. See `$this->providers` for a list of supported providers. * * @since 3.40.0 * * @param bool $disabled Whether or not this class is disabled. */ if ( apply_filters( "llms_disable_{$this->id}", false ) ) { return; } add_filter( 'llms_email_delivery_services', array( $this, 'add_settings' ) ); add_action( 'wp_ajax_llms_' . $this->id . '_remote_install', array( $this, 'ajax_callback_remote_install' ) ); add_action( 'admin_print_footer_scripts', array( $this, 'output_js' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.40.0 | Introduced. |