PluginProbe
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards / 5.5.84
WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards v5.5.84
5.5.84 5.5.83 5.5.82 5.5.81 5.5.80 5.5.79 5.5.77 5.5.76 5.5.75 5.5.73 5.5.72 5.5.22 5.5.23 5.5.29 5.5.3 5.5.31 5.5.32 5.5.34 5.5.35 5.5.36 5.5.37 5.5.4 5.5.40 5.5.41 5.5.42 All 160 releases
← All changes | includes/class-wp-data-access-switch.php +0 -17 5.5.835.5.84 View file →
@@ -159,25 +159,8 @@
159 159 }
160 160 }
161 161
162 162 private static function flush_rewrite_rules() {
163 - // Unscheduled all WP Data Access events
164 - self::unschedule_event( 'wpda_data_backup' );
165 - self::unschedule_event( \WPDataAccess\Query_Builder\WPDA_Query_Builder_Scheduler::SCHEDULER_HOOK_NAME );
166 - self::unschedule_event( \WPDataAccess\Utilities\WPDA_Export_Scheduler::SCHEDULER_HOOK_NAME );
167 - }
168 -
169 - private static function unschedule_event( $hook ) {
170 - $crons = _get_cron_array();
171 - foreach ( $crons as $timestamp => $cron ) {
172 - if ( isset( $cron[$hook] ) ) {
173 - foreach ( $cron[$hook] as $event ) {
174 - if ( isset( $event['args'] ) ) {
175 - wp_unschedule_event( $timestamp, $hook, $event['args'] );
176 - }
177 - }
178 - }
179 - }
180 163 }
181 164
182 165 private static function set_legacy_tools() {
183 166 // Get current legacy tool settings