PluginProbe
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution / 2.5.0
Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution v2.5.0
2.5.0 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 All 34 releases
fluent-booking / vendor / woocommerce / action-scheduler / deprecated / ActionScheduler_Store_Deprecated.php

ActionScheduler_Store_Deprecated.php in Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution 2.5.0, at vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Store_Deprecated.php

50 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Class ActionScheduler_Store_Deprecated
5 * @codeCoverageIgnore
6 */
7 abstract class ActionScheduler_Store_Deprecated {
8
9 /**
10 * Mark an action that failed to fetch correctly as failed.
11 *
12 * @since 2.2.6
13 *
14 * @param int $action_id The ID of the action.
15 */
16 public function mark_failed_fetch_action( $action_id ) {
17 _deprecated_function( __METHOD__, '3.0.0', 'ActionScheduler_Store::mark_failure()' );
18 self::$store->mark_failure( $action_id );
19 }
20
21 /**
22 * Add base hooks
23 *
24 * @since 2.2.6
25 */
26 protected static function hook() {
27 _deprecated_function( __METHOD__, '3.0.0' );
28 }
29
30 /**
31 * Remove base hooks
32 *
33 * @since 2.2.6
34 */
35 protected static function unhook() {
36 _deprecated_function( __METHOD__, '3.0.0' );
37 }
38
39 /**
40 * Get the site's local time.
41 *
42 * @deprecated 2.1.0
43 * @return DateTimeZone
44 */
45 protected function get_local_timezone() {
46 _deprecated_function( __FUNCTION__, '2.1.0', 'ActionScheduler_TimezoneHelper::set_local_timezone()' );
47 return ActionScheduler_TimezoneHelper::get_local_timezone();
48 }
49 }
50