<?php
$exp_hours = 72;
$ids = "1443,2233";
$link = c_ws_plugin__s2member_sp_access::sp_access_link_gen($ids, $exp_hours);
?>
<?php
add_filter("ws_plugin__s2member_sp_access_excluded", "my_filter", 10, 2);
function my_filter($excluded = FALSE, $vars = array())
{
$post_or_page_id = $vars["sp_id"];
if($_GET["s2member_sp_access"] && $post_or_page_id == 123)
return true;
else
return false;
}
?>
Statistics: Posted by Jason Caldwell — May 31st, 2011, 6:20 am
Statistics: Posted by sensei — May 30th, 2011, 8:18 am