. */ /* See also: . */ /* --------------------------------------------------------------- */ if (isset ($_g["_s2member_seeking"]["_uri"]) /* Full URI they were trying to access. */ ) echo 'You were trying to access URL: ' . esc_html (site_url(base64_decode($_g["_s2member_seeking"]["_uri"]))) . '.'; /* See also: . */ /* See also: . */ /* ------------------------------------------------------------------------------------ */ if (isset ($_g["_s2member_req"]["type"]) /* One of: level|ccap|sp */) echo 'You were trying to access content that requires: ' . esc_html ($_g["_s2member_req"]["type"]) . '.'; /* --------------------------------------------------------------- */ if (isset ($_g["_s2member_req"]["level"])) echo 'You must be a Member at Level #' . esc_html ($_g["_s2member_req"]["level"]) . ' or higher.'; else if (isset ($_g["_s2member_req"]["ccap"])) echo 'You must be a Member with Custom Capability: ' . esc_html ($_g["_s2member_req"]["ccap"]) . '.'; else if (isset ($_g["_s2member_req"]["sp"])) echo 'You must purchase Specific Post/Page ID #' . esc_html ($_g["_s2member_req"]["sp"]) . '.'; /* ------------------------------------------------------------------------------------ */ if (isset ($_g["_s2member_res"]["type"]) /* One of: post|page|catg|ptag|file|ruri|ccap|sp|sys */) echo 'You were trying to access content protected via s2Member: ' . esc_html ($_g["_s2member_res"]["type"]) . ' restrictions.'; ?>