PluginProbe
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions / trunk
s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions vtrunk
260909 260829 260814 260805 110710 110731 110812 110815 110912 110913 110915 110926 110927 111002 111003 111011 111017 111029 111105 111206 111216 111220 120213 120219 120301 All 187 releases
s2member / src / includes / codes.inc.php

codes.inc.php in s2Member – Excellent for All Kinds of Memberships, Content Restriction Paywalls & Member Access Subscriptions trunk, at src/includes/codes.inc.php

44 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // @codingStandardsIgnoreFile
3 /**
4 * Shortcodes for the s2Member plugin.
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
16 * @since 3.0
17 */
18 if(!defined('WPINC')) // MUST have WordPress.
19 exit ('Do not access this file directly.');
20 /*
21 Add WordPress Editor Shortcodes.
22 */
23 add_shortcode('s2Key', 'c_ws_plugin__s2member_sc_keys::sc_get_key');
24 add_shortcode('s2Get', 'c_ws_plugin__s2member_sc_gets::sc_get_details');
25 add_shortcode('s2Eot', 'c_ws_plugin__s2member_sc_eots::sc_eot_details');
26 add_shortcode('s2File', 'c_ws_plugin__s2member_sc_files::sc_get_file');
27 add_shortcode('s2Stream', 'c_ws_plugin__s2member_sc_files::sc_get_stream');
28
29 add_shortcode('s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
30 add_shortcode('_s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
31 add_shortcode('__s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
32 add_shortcode('___s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
33 add_shortcode('____s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
34 add_shortcode('_____s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
35 add_shortcode('______s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
36 add_shortcode('_______s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
37 add_shortcode('________s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
38 add_shortcode('_________s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
39 add_shortcode('__________s2If', 'c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals');
40
41 add_shortcode('s2Member-Profile', 'c_ws_plugin__s2member_sc_profile::sc_profile');
42 add_shortcode('s2Member-PayPal-Button', 'c_ws_plugin__s2member_sc_paypal_button::sc_paypal_button');
43 add_shortcode('s2Member-Security-Badge', 'c_ws_plugin__s2member_sc_s_badge::sc_s_badge');
44