LLMS_Abstract_Integration::__construct()

Constructor


Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.integration.php

	public function __construct() {

		$this->configure();

		add_filter( 'lifterlms_integrations_settings_' . $this->id, array( $this, 'add_settings' ), $this->priority, 1 );

		/**
		 * Trigger an action when the integration is initialized.
		 *
		 * The dynamic portion of this hook, `{$this->id}`, refers to the integration's unique ID.
		 *
		 * @since 4.21.0
		 *
		 * @param object $instance Class instance of the class extending the `LLMS_Abstract_Integration` abstract.
		 */
		do_action( "llms_integration_{$this->id}_init", $this );

		if ( ! empty( $this->plugin_basename ) ) {
			add_action( "plugin_action_links_{$this->plugin_basename}", array( $this, 'plugin_action_links' ), 100, 4 );
		}

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.8.0
3.18.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.