function aviators_utils_catch_template() { if (get_query_var('aviators-utils') && get_query_var('export')) { $export = get_query_var('export'); if ($export == 'theme-options') { $exporter = new AviatorsUtilsTOExport(); $exporter->export(); } if ($export == 'widget-logic') { $exporter = new AviatorsUtilsWLExport(); $exporter->export(); } die; } }
/** * Simple Widget Logic Export Page */ function aviators_utils_to_export_page() { $to = new AviatorsUtilsTOExport(); $to->render(); }