caffeinated/modules/ticket_selector_caff/EED_Ticket_Selector_Caff.module.php 1 location
|
@@ 117-120 (lines=4) @@
|
114 |
|
* @throws \EE_Error |
115 |
|
*/ |
116 |
|
public static function _ticket_selector_appearance_settings() { |
117 |
|
if ( ! \EE_Registry::instance()->CFG->template_settings->EED_Ticket_Selector instanceof EE_Ticket_Selector_Config ) { |
118 |
|
\EED_Ticket_Selector::instance()->set_config(); |
119 |
|
\EE_Registry::instance()->CFG->template_settings->EED_Ticket_Selector = \EED_Ticket_Selector::instance()->config(); |
120 |
|
} |
121 |
|
// get option for whether to show datetime selector in TS |
122 |
|
$show_datetime_selector = \EE_Registry::instance() |
123 |
|
->CFG |
modules/ticket_selector/EED_Ticket_Selector.module.php 1 location
|
@@ 119-122 (lines=4) @@
|
116 |
|
str_replace( '\\', DS, plugin_dir_path( __FILE__ )) . 'templates' . DS |
117 |
|
); |
118 |
|
//if config is not set, initialize |
119 |
|
if ( ! EE_Registry::instance()->CFG->template_settings->EED_Ticket_Selector instanceof EE_Ticket_Selector_Config ) { |
120 |
|
\EED_Ticket_Selector::instance()->set_config(); |
121 |
|
\EE_Registry::instance()->CFG->template_settings->EED_Ticket_Selector = \EED_Ticket_Selector::instance()->config(); |
122 |
|
} |
123 |
|
} |
124 |
|
|
125 |
|
|