<?php
add_filter ("ws_plugin__s2member_check_post_level_access_excluded", "my_post_page_exclusions");
add_filter ("ws_plugin__s2member_check_page_level_access_excluded", "my_post_page_exclusions");
function my_post_page_exclusions ($excluded = false)
{
$excluded_posts = array (3345, 49343); /* Comma-delimited Post IDs to exclude. */
$excluded_pages = array (3004, 39494); /* Comma-delimited Page IDs to exclude. */
/**/
if (($excluded_posts && is_single ($excluded_posts)) || ($excluded_pages && is_page ($excluded_pages)))
return ($excluded = true);
}
?>
Statistics: Posted by Jason Caldwell — May 13th, 2011, 4:39 am
Statistics: Posted by Cristián Lávaque — May 12th, 2011, 6:41 pm
Statistics: Posted by arthomas — May 12th, 2011, 4:55 pm
Statistics: Posted by arthomas — May 12th, 2011, 1:55 am
Statistics: Posted by Cristián Lávaque — May 12th, 2011, 1:07 am
Statistics: Posted by arthomas — May 12th, 2011, 12:42 am
Statistics: Posted by Cristián Lávaque — May 12th, 2011, 12:27 am
Statistics: Posted by arthomas — May 11th, 2011, 11:51 pm