/** * Status for Pages, these are handled separately. * * @package s2Member\Lock_Icons * @since 1.5 * * @param str $column_name Column ID/Name. We need to look at this to fill the `(s2)` column. * @param int|str $id Expecting a numeric Page ID to be passed by the Action Hook. * @return null */ public static function _lock_icons_echo_value_pages($column_name = FALSE, $id = FALSE) { echo $column_name === "ws_plugin__s2member_pro_lock_icons" ? c_ws_plugin__s2member_pro_lock_icons_in::_return_lock_icons_description(c_ws_plugin__s2member_pages_sp::check_specific_page_level_access($id, false)) : ""; }
function is_page_permitted_by_s2member($page_id = FALSE) { if ($page_id && c_ws_plugin__s2member_pages_sp::check_specific_page_level_access($page_id, true)) { return false; } return true; }