PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.1.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.1.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / libraries / action-scheduler / deprecated / ActionScheduler_Store_Deprecated.php

ActionScheduler_Store_Deprecated.php in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.1.0, at libraries/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