PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / trunk
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution vtrunk
2.4.0 2.3.0 2.2.5 2.2.0 2.1.2 2.1.1 trunk 1.10.0 1.10.01 1.10.02 1.5.0 1.5.01 1.5.02 1.5.1 1.5.10 1.5.20 1.5.21 1.5.22 1.5.23 1.5.24 1.5.25 1.6.0 1.7.0 1.7.1 1.7.2 All 33 releases
fluent-booking / boot / globals_dev.php

globals_dev.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution trunk, at boot/globals_dev.php

31 lines 684 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 defined( 'ABSPATH' ) || exit;
4
5 /**
6 * Enable Query Log
7 */
8 if (!function_exists('fluentbooking_eql')) {
9 function fluentbooking_eql()
10 {
11 defined('SAVEQUERIES') || define('SAVEQUERIES', true); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedConstantFound
12 }
13 }
14
15 /**
16 * Get Query Log
17 */
18 if (!function_exists('fluentbooking_gql')) {
19 function fluentbooking_gql()
20 {
21 $result = [];
22 foreach ((array)$GLOBALS['wpdb']->queries as $key => $query) {
23 $result[++$key] = array_combine([
24 'query', 'execution_time'
25 ], array_slice($query, 0, 2));
26 }
27 return $result;
28 }
29 }
30
31