c_ws_plugin__s2member_mo_page
public class c_ws_plugin__s2member_mo_page
3.5
( 2 Methods ) Method Summary | |
---|---|
public static null|inner | Forces a redirection to the Membership Options Page for s2Member. |
public static inner | wp_redirect_w_mop_vars(str $seeking_type, str|int $seeking_type_value, str $req_type, str|int $req_type_value, str $seeking_uri, str $res_type) Redirects to Membership Options Page w/ MOP Vars. |
public static null|inner membership_options_page()
Forces a redirection to the Membership Options Page for s2Member.
This can be used by 3rd party apps that are not aware of which Page is currently set as the Membership Options Page.
Example usage: http://example.com/?s2member_membership_options_page=1
3.5
add_action("init");
null|inner - Return-value of inner routine.
public static inner wp_redirect_w_mop_vars(str $seeking_type, str|int $seeking_type_value, str $req_type, str|int $req_type_value, str $seeking_uri, str $res_type)
Redirects to Membership Options Page w/ MOP Vars.
111101
str $seeking_type - Seeking content type. One of: post|page|catg|ptag|file|ruri
.
str|int $seeking_type_value - Seeking content type data. String, or a Post/Page ID.
str $req_type - Access requirement type. One of these values: level|ccap|sp
.
str|int $req_type_value - Access requirement. String, or a Post/Page ID.
str $seeking_uri - The full URI that access was attempted on.
str $res_type - Restriction type that's preventing access. One of: post|page|catg|ptag|file|ruri|ccap|sp|sys
. Defaults to $seeking_type
.
inner - Return-value of inner routine.
Membership Options Page.