Page::get_provider_options()
Get the ticket providers.
Return
(array)
Source
File: src/Tickets/Admin/Tickets/Page.php
public static function get_provider_options() {
$providers = static::get_provider_info();
$provider_options = [];
foreach ( $providers as $provider => $provider_info ) {
if ( empty( $provider_info['title'] ) ) {
continue;
}
$provider_options[ $provider ] = $provider_info['title'];
}
return $provider_options;
}
Changelog
| Version | Description |
|---|---|
| 5.14.0 | Introduced. |