Payments_Tab::get_top_level_settings()
Gets the top level settings for Tickets Commerce.
Return
(array[])
Source
File: src/Tickets/Commerce/Payments_Tab.php
public static $option_gateway_enabled_prefix = 'tec_tc_payments_gateway_enabled_';
/**
* Key to determine current section.
*
* @since 5.3.0
*
* @var string
*/
public static $key_current_section = 'tec_tc_payments_current_section';
/**
* Key to use in GET variable for currently selected section.
*
* @since 5.3.0
*
* @var string
*/
public static $key_current_section_get_var = 'tc-section';
/**
* Key to use for section menu.
*
* @since 5.3.0
*
* @var string
*/
public static $key_section_menu = 'tec_tc_section_menu';
/**
* Stores the instance of the template engine that we will use for rendering differentelements.
*
* @since 5.3.0
*
* @var Tribe__Template
*/
protected $template;
/**
* @inheritdoc
*/
public function register() {
$this->container->singleton( static::class, $this );
}
/**
* Create the Tickets Commerce Payments Settings Tab.
*
* @since 5.2.0
*/
public function register_tab() {
$tab_settings = [
'priority' => 25,
'fields' => $this->get_fields(),
'show_save' => true,
];
$tab_settings = apply_filters( 'tec_tickets_commerce_payments_tab_settings', $tab_settings );
Changelog
| Version | Description |
|---|---|
| 5.2.0 | Introduced. |