LLMS_Settings_Checkout::get_sections()
Get the page sections
Return Return
(array)
Source Source
File: includes/admin/settings/class.llms.settings.checkout.php
public function get_sections() { $sections = array(); $gateways = llms()->payment_gateways()->get_payment_gateways(); foreach ( $gateways as $id => $gateway ) { $sections[ $id ] = $gateway->get_admin_title(); } asort( $sections ); $sections = array_merge( array( 'main' => __( 'Checkout Settings', 'lifterlms' ), ), $sections ); return apply_filters( 'llms_checkout_settings_sections', $sections ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.17.5 | Introduced. |