| 1 |
<?php |
| 2 |
/** |
| 3 |
* Shortcodes for the s2Member plugin. |
| 4 |
* |
| 5 |
* Copyright: © 2009-2011 |
| 6 |
* {@link http://www.websharks-inc.com/ WebSharks, Inc.} |
| 7 |
* ( coded in the USA ) |
| 8 |
* |
| 9 |
* Released under the terms of the GNU General Public License. |
| 10 |
* You should have received a copy of the GNU General Public License, |
| 11 |
* along with this software. In the main directory, see: /licensing/ |
| 12 |
* If not, see: {@link http://www.gnu.org/licenses/}. |
| 13 |
* |
| 14 |
* @package s2Member |
| 15 |
* @since 3.0 |
| 16 |
*/ |
| 17 |
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"])) |
| 18 |
exit ("Do not access this file directly."); |
| 19 |
/* |
| 20 |
Add WordPress® Editor Shortcodes. |
| 21 |
*/ |
| 22 |
add_shortcode ("s2Get", "c_ws_plugin__s2member_sc_gets::sc_get_details"); |
| 23 |
/**/ |
| 24 |
add_shortcode ("s2If", "c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals"); |
| 25 |
add_shortcode ("_s2If", "c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals"); |
| 26 |
add_shortcode ("__s2If", "c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals"); |
| 27 |
add_shortcode ("___s2If", "c_ws_plugin__s2member_sc_if_conds::sc_if_conditionals"); |
| 28 |
/**/ |
| 29 |
add_shortcode ("s2Member-Profile", "c_ws_plugin__s2member_sc_profile::sc_profile"); |
| 30 |
add_shortcode ("s2Member-PayPal-Button", "c_ws_plugin__s2member_sc_paypal_button::sc_paypal_button"); |
| 31 |
add_shortcode ("s2Member-Security-Badge", "c_ws_plugin__s2member_sc_s_badge::sc_s_badge"); |
| 32 |
?> |