LLMS_Abstract_Integration::get_settings()
Retrieve an array of integration related settings
Description Description
Return Return
(array)
Source Source
File: includes/abstracts/llms.abstract.integration.php
protected function get_settings() { $settings[] = array( 'type' => 'sectionstart', 'id' => 'llms_integration_' . $this->id . '_start', 'class' => 'top', ); $settings[] = array( 'desc' => $this->description, 'id' => 'llms_integration_' . $this->id . '_title', 'title' => $this->title, 'type' => 'title', ); $settings[] = array( 'desc' => __( 'Check to enable this integration.', 'lifterlms' ), 'default' => 'no', 'id' => $this->get_option_name( 'enabled' ), 'type' => 'checkbox', 'title' => __( 'Enable / Disable', 'lifterlms' ), ); if ( ! $this->is_installed() && ! empty( $this->description_missing ) ) { $settings[] = array( 'type' => 'custom-html', 'value' => '<em>' . $this->description_missing . '</em>', ); } $settings = array_merge( $settings, $this->get_integration_settings() ); $settings[] = array( 'type' => 'sectionend', 'id' => 'llms_integration_' . $this->id . '_end', ); return apply_filters( 'llms_integration_' . $this->id . '_get_settings', $settings, $this ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: