( 12 Functions ) Function Summary | |
---|---|
public static str[] | _ws_plugin__s2member_classes_scan_dirs_r(str $starting_dir) Scans recursively for class sub-directories. |
public static str[] | _ws_plugin__s2member_pro_classes_scan_dirs_r(str $starting_dir) Scans recursively for class sub-directories. |
public void | ws_plugin__s2member_activate() Deprecated in s2Member v3.5+. |
public null | ws_plugin__s2member_classes(str $class) s2Member class autoloader. |
public array | ws_plugin__s2member_configure_options_and_their_defaults(array $options) Configures an options array for the s2Member plugin. |
public void | ws_plugin__s2member_deactivate() Deprecated in s2Member v3.5+. |
public void | ws_plugin__s2member_enqueue_admin_notice(bool $notice, bool $on_pages, bool $error, bool $time, bool $dismiss) Deprecated in s2Member v3.5+. |
public null | ws_plugin__s2member_pro_classes(str $class) s2Member Pro class autoloader. |
public array | ws_plugin__s2member_pro_default_options(array $default_options) Configures default options array for s2Member Pro. |
public array | ws_plugin__s2member_pro_options_before_checksum(array $options) Configures options array; while handling s2Member Pro options. |
public void | ws_plugin__s2member_remote(bool $url, bool $post_vars, mixed $args) Deprecated in s2Member v3.5+. |
public void | ws_plugin__s2member_trim_deep(bool $data) Deprecated in s2Member v3.5+. |
public static str[] _ws_plugin__s2member_classes_scan_dirs_r (str $starting_dir)
Scans recursively for class sub-directories.
Used by the s2Member autoloader.
3.5
str $starting_dir - The directory to start scanning from.
str[] - An array of class directories.
public static str[] _ws_plugin__s2member_pro_classes_scan_dirs_r (str $starting_dir)
Scans recursively for class sub-directories.
Used by the s2Member Pro autoloader.
1.5
str $starting_dir - The directory to start scanning from.
str[] - An array of class directories.
public void ws_plugin__s2member_activate ()
Deprecated in s2Member v3.5+.
The s2Clean theme; prior to s2Clean v1.2.5 looked for the existence of this function. In fact, all older PriMoThemes called upon the activate/deactivate functions.
1.0
Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_installation::activate()
s2Member\Installation → c_ws_plugin__s2member_installation::activate()
public null ws_plugin__s2member_classes (str $class)
s2Member class autoloader.
The __autoload function for s2Member classes. This highly optimizes s2Member. Giving it a much smaller footprint. See: http://www.php.net/manual/en/function.spl-autoload-register.php
3.5
str $class - The class that needs to be loaded. Passed in by PHP itself.
null
public array ws_plugin__s2member_configure_options_and_their_defaults (array $options)
Configures an options array for the s2Member plugin.
WARNING: This is a system configuration function, please DO NOT EDIT this function directly. Instead, use the plugin options panel in WordPress® to override these settings.
3.0
array $options - Optional. An array of new options, to be merged with the defaults.
array - This merged array of options: $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]
public void ws_plugin__s2member_deactivate ()
Deprecated in s2Member v3.5+.
The s2Clean theme; prior to s2Clean v1.2.5 looked for the existence of this function. In fact, all older PriMoThemes called upon the activate/deactivate functions.
1.0
Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_installation::deactivate()
s2Member\Installation → c_ws_plugin__s2member_installation::deactivate()
public void ws_plugin__s2member_enqueue_admin_notice (bool $notice, bool $on_pages, bool $error, bool $time, bool $dismiss)
Deprecated in s2Member v3.5+.
Needed by the s2Member Pro upgrader prior to s2Member Pro v1.5+.
3.0
Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_admin_notices::enqueue_admin_notice()
s2Member\Admin_Notices → c_ws_plugin__s2member_admin_notices::enqueue_admin_notice()
public null ws_plugin__s2member_pro_classes (str $class)
s2Member Pro class autoloader.
The __autoload function for s2Member Pro classes. This highly optimizes s2Member Pro. Giving it a much smaller footprint. See: http://www.php.net/manual/en/function.spl-autoload-register.php
1.5
str $class - The class that needs to be loaded. Passed in by PHP itself.
null
public array ws_plugin__s2member_pro_default_options (array $default_options)
Configures default options array for s2Member Pro.
WARNING: This is a system configuration function, please DO NOT EDIT this function directly. Instead, use the plugin options panel in WordPress® to override these settings.
1.0
array $default_options - Expects an array of default options passed in by the Filter.
array - Merged with default options from the s2Member Framework. All Pro options should be prefixed with pro_
.
public array ws_plugin__s2member_pro_options_before_checksum (array $options)
Configures options array; while handling s2Member Pro options.
WARNING: This is a system configuration function, please DO NOT EDIT this function directly. Instead, use the plugin options panel in WordPress® to override these settings.
1.0
array $options - Expects an array of options, by reference, passed in by the Filter. $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]
, by reference.
array - Merged with options from the s2Member Framework. All Pro options should be prefixed with pro_
.
public void ws_plugin__s2member_remote (bool $url, bool $post_vars, mixed $args)
Deprecated in s2Member v3.5+.
Needed by the s2Member Pro upgrader prior to s2Member Pro v1.5+.
3.0
Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_utils_urls::remote()
s2Member\Utilities → c_ws_plugin__s2member_utils_urls::remote()
public void ws_plugin__s2member_trim_deep (bool $data)
Deprecated in s2Member v3.5+.
Needed by the s2Member Pro upgrader prior to s2Member Pro v1.5+.
3.0
Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_utils_strings::trim_deep()
s2Member\Utilities → c_ws_plugin__s2member_utils_strings::trim_deep()