Payments_Tab::get_section_gateway()
Returns the settings item for the section menu at the top of the Payments settings tab.
Return
(TECTicketsCommerceGatewaysContractsAbstract_Gateway|null)
Source
File: src/Tickets/Commerce/Payments_Tab.php
public function get_section_gateway() {
$selected_section = tribe_get_request_var( static::$key_current_section_get_var );
return tribe( Manager::class )->get_gateway_by_key( $selected_section );
}
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |