PluginProbe
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions / 260805
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions v260805
260917 260913 260909 260829 260814 260805 110710 110731 110812 110815 110912 110913 110915 110926 110927 111002 111003 111011 111017 111029 111105 111206 111216 111220 120213 All 189 releases
s2member / src / includes / classes / tracking-cookies.inc.php

tracking-cookies.inc.php in s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions 260805, at src/includes/classes/tracking-cookies.inc.php

60 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // @codingStandardsIgnoreFile
3 /**
4 * Tracking Cookies.
5 *
6 * Copyright: © 2009-2011
7 * {@link http://websharks-inc.com/ WebSharks, Inc.}
8 * (coded in the USA)
9 *
10 * Released under the terms of the GNU General Public License.
11 * You should have received a copy of the GNU General Public License,
12 * along with this software. In the main directory, see: /licensing/
13 * If not, see: {@link http://www.gnu.org/licenses/}.
14 *
15 * @package s2Member\Tracking
16 * @since 3.5
17 */
18 if(!defined('WPINC')) // MUST have WordPress.
19 exit ("Do not access this file directly.");
20
21 if(!class_exists("c_ws_plugin__s2member_tracking_cookies"))
22 {
23 /**
24 * Tracking Cookies.
25 *
26 * @package s2Member\Tracking
27 * @since 3.5
28 */
29 class c_ws_plugin__s2member_tracking_cookies
30 {
31 /**
32 * Deletes s2Member's temporary tracking cookie.
33 *
34 * @package s2Member\Tracking
35 * @since 110815
36 *
37 * @attaches-to ``add_action("init");``
38 */
39 public static function delete_tracking_cookie()
40 {
41 if(!empty($_GET["s2member_delete_tracking_cookie"]))
42 c_ws_plugin__s2member_tracking_cookies_in::delete_tracking_cookie();
43 }
44
45 /**
46 * Deletes s2Member's temporary tracking cookie.
47 *
48 * @package s2Member\Tracking
49 * @since 3.5
50 *
51 * @attaches-to ``add_action("init");``
52 */
53 public static function delete_sp_tracking_cookie()
54 {
55 if(!empty($_GET["s2member_delete_sp_tracking_cookie"]))
56 c_ws_plugin__s2member_tracking_cookies_in::delete_sp_tracking_cookie();
57 }
58 }
59 }
60