Completed
Branch FET-10486-add-timestamp-checki... (611b15)
by
unknown
105:07 queued 90:18
created

PostShortcodeTracking   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 151
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 151
rs 10
c 0
b 0
f 0
wmc 11
lcom 0
cbo 1

11 Methods

Rating   Name   Duplication   Size   Complexity  
A set_hooks_admin() 0 4 1
A parse_post_content_on_save() 0 4 1
A set_post_shortcodes_for_posts_page() 0 4 1
A set_post_shortcode_for_posts_page() 0 4 1
A unset_post_shortcodes_on_delete() 0 4 1
A unset_posts_page_shortcode_for_post() 0 9 1
A update_post_shortcodes() 0 4 1
A reset_page_for_posts_on_initial_set() 0 4 1
A reset_page_for_posts_on_change() 0 4 1
A reset_page_for_posts_on_delete() 0 4 1
A get_post_ids_for_shortcode() 0 4 1
1
<?php
2
namespace EventEspresso\core\admin;
3
4
defined( 'EVENT_ESPRESSO_VERSION' ) || exit();
5
6
7
8
/**
9
 * Class PostShortcodeTracking.
10
 *
11
 * @deprecated 4.9.26
12
 */
13
class PostShortcodeTracking
14
{
15
16
    /**
17
     * @deprecated 4.9.26
18
     * @return    void
19
     */
20
    public static function set_hooks_admin()
21
    {
22
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
23
    }
24
25
26
27
    /**
28
     * @deprecated 4.9.26
29
     * @param $post_ID
30
     * @param $post
31
     * @return void
32
     */
33
    public static function parse_post_content_on_save( $post_ID, $post )
34
    {
35
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
36
    }
37
38
39
40
    /**
41
     * @deprecated 4.9.26
42
     * @param $page_for_posts
43
     * @return void
44
     */
45
    protected static function set_post_shortcodes_for_posts_page( $page_for_posts )
46
    {
47
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
48
    }
49
50
51
52
    /**
53
     * @deprecated 4.9.26
54
     * @param $page_for_posts
55
     * @param $EES_Shortcode
56
     * @param $post_ID
57
     * @return void
58
     */
59
    protected static function set_post_shortcode_for_posts_page( $page_for_posts, $EES_Shortcode, $post_ID )
60
    {
61
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
62
    }
63
64
65
66
    /**
67
     * @deprecated 4.9.26
68
     * @param $ID
69
     * @return void
70
     */
71
    public static function unset_post_shortcodes_on_delete( $ID )
72
    {
73
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
74
    }
75
76
77
78
    /**
79
     * @deprecated 4.9.26
80
     * @param      $ID
81
     * @param      $shortcode_class
82
     * @param      $shortcode_posts
83
     * @param      $page_for_posts
84
     * @param bool $update_post_shortcodes
85
     * @return void
86
     */
87
    protected static function unset_posts_page_shortcode_for_post(
88
        $ID,
89
        $shortcode_class,
90
        $shortcode_posts,
91
        $page_for_posts,
92
        $update_post_shortcodes = false
93
    ) {
94
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
95
    }
96
97
98
99
    /**
100
     * @deprecated 4.9.26
101
     * @param string $page_for_posts
102
     * @return void
103
     */
104
    public static function update_post_shortcodes( $page_for_posts = '' )
105
    {
106
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
107
    }
108
109
110
111
    /**
112
     * @deprecated 4.9.26
113
     * @param $option
114
     * @param $value
115
     * @return void
116
     */
117
    public static function reset_page_for_posts_on_initial_set( $option, $value )
118
    {
119
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
120
    }
121
122
123
124
    /**
125
     * @deprecated 4.9.26
126
     * @param        $option
127
     * @param string $old_value
128
     * @param string $value
129
     * @return void
130
     */
131
    public static function reset_page_for_posts_on_change( $option, $old_value = '', $value = '' )
132
    {
133
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
134
    }
135
136
137
138
    /**
139
     * @deprecated 4.9.26
140
     * @param $option
141
     * @return void
142
     */
143
    public static function reset_page_for_posts_on_delete( $option )
144
    {
145
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
146
    }
147
148
149
150
    /**
151
     * @deprecated 4.9.26
152
     * @param      $shortcodes
153
     * @param bool $index_results
154
     * @return void
155
     */
156
    public static function get_post_ids_for_shortcode( $shortcodes, $index_results = true )
157
    {
158
        \EE_Error::doing_it_wrong(__METHOD__, __('Usage is deprecated.', 'event_espresso'), '4.9.26');
159
    }
160
161
162
163
}
164
// End of file PostShortcodeTracking.php
165
// Location: /PostShortcodeTracking.php