Payments_Tab::get_url( array $args = array() )
Gets the URL for the Payment Tab.
Contents
Parameters
- $args
-
(array) (Optional) Which query args we are adding.
Default value: array()
Return
(string)
Source
File: src/Tickets/Commerce/Payments_Tab.php
public function get_url( array $args = [] ): string {
// Force the payment tab.
$args['tab'] = static::$slug;
// Use the settings page get_url to build the URL.
return Tribe__Settings::instance()->get_url( $args );
}
Changelog
| Version | Description |
|---|---|
| 5.3.0 | Introduced. |