PluginProbe
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz / 0.0.13
SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz v0.0.13
2.12.8 2.12.7 2.12.6 2.12.5 2.12.4 2.12.3 2.12.2 2.12.1 2.12.0 2.11.1 2.11.0 2.10.1 2.10.0 2.9.1 2.9.0 2.8.2 2.8.1 2.7.0 2.7.1 2.8.0 trunk 0.0.10 0.0.11 0.0.12 0.0.13 All 98 releases
sureforms / inc / lib / action-scheduler / deprecated / ActionScheduler_Store_Deprecated.php

ActionScheduler_Store_Deprecated.php in SureForms – Contact Form Builder, AI Forms, Payment Form, Survey & Quiz 0.0.13, at inc/lib/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