PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.3.21
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.3.21
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
fluent-cart / vendor / woocommerce / action-scheduler / deprecated / ActionScheduler_Store_Deprecated.php

ActionScheduler_Store_Deprecated.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.3.21, at vendor/woocommerce/action-scheduler/deprecated/ActionScheduler_Store_Deprecated.php

51 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 *
6 * @codeCoverageIgnore
7 */
8 abstract class ActionScheduler_Store_Deprecated {
9
10 /**
11 * Mark an action that failed to fetch correctly as failed.
12 *
13 * @since 2.2.6
14 *
15 * @param int $action_id The ID of the action.
16 */
17 public function mark_failed_fetch_action( $action_id ) {
18 _deprecated_function( __METHOD__, '3.0.0', 'ActionScheduler_Store::mark_failure()' );
19 self::$store->mark_failure( $action_id );
20 }
21
22 /**
23 * Add base hooks
24 *
25 * @since 2.2.6
26 */
27 protected static function hook() {
28 _deprecated_function( __METHOD__, '3.0.0' );
29 }
30
31 /**
32 * Remove base hooks
33 *
34 * @since 2.2.6
35 */
36 protected static function unhook() {
37 _deprecated_function( __METHOD__, '3.0.0' );
38 }
39
40 /**
41 * Get the site's local time.
42 *
43 * @deprecated 2.1.0
44 * @return DateTimeZone
45 */
46 protected function get_local_timezone() {
47 _deprecated_function( __FUNCTION__, '2.1.0', 'ActionScheduler_TimezoneHelper::set_local_timezone()' );
48 return ActionScheduler_TimezoneHelper::get_local_timezone();
49 }
50 }
51