c_ws_plugin__s2member_menu_pages
public class c_ws_plugin__s2member_menu_pages
3.5
( 1 Field ) Field Summary | |
---|---|
public static array | Pre-display errors. |
( 24 Methods ) Method Summary | |
---|---|
public static array | _add_settings_link(array $actions, str $plugin_file) A sort of callback function to add the settings link. |
public static null | Adds option menus / sub-menus. |
public static null | Enqueue scripts for administrative menu pages. |
public static null | Enqueue styles for administrative menu pages. |
public static null | Adds network option menus / sub-menus. |
public static null | Builds and handles the API Notifications page. |
public static null | Archives existing log files and starts fresh with new logs. |
public static null | Deletes existing log files and starts fresh with new logs. |
public static null | Builds and handles the Download Options page. |
public static null | Builds and handles the API List Server options page. |
public static null | Builds and handles the General Options page. |
public static null | Builds and handles the s2Member Info page. |
public static null | Builds and handles the Integrations page. |
public static null | Handles log file downloads. |
public static null | Builds and handles the Logs page. |
public static null | Handles log file downloads (in ZIP format). |
public static null | Builds and handles the Main Multisite Options page. |
public static null | Builds and handles the PayPal Button Generator page. |
public static null | Builds and handles the Paypal Options page. |
public static null | Builds and handles the Restriction Options page. |
public static null | Builds and handles the API Scripting page. |
public static null | Builds and handles the Quick Start page. |
public static null | Builds and handles the API Tracking options page. |
public static bool | update_all_options(array $new_options, bool $verified, bool $update_other, bool|array $display_notices, bool|array $enqueue_notices, bool $request_refresh) Saves all options from any menu page. |
public static array $pre_display_errors = array()
Pre-display errors.
111209
public static array _add_settings_link(array $actions, str $plugin_file)
A sort of callback function to add the settings link.
3.5
add_filter("plugin_action_links");
array $actions - Expects an existing array of actions links, passed in by the Filter.
str $plugin_file - Expects path to a plugin file. We need to test against this for s2Member.
array - An array of links, Filtered by this routine.
public static null add_admin_options()
Adds option menus / sub-menus.
3.5
add_action("admin_menu");
null
public static null add_admin_scripts()
Enqueue scripts for administrative menu pages.
3.5
add_action("admin_print_scripts");
null
public static null add_admin_styles()
Enqueue styles for administrative menu pages.
3.5
add_action("admin_print_styles");
null
public static null add_network_admin_options()
Adds network option menus / sub-menus.
3.5
add_action("network_admin_menu");
null
public static null api_ops_page()
Builds and handles the API Notifications page.
3.5
null
public static null archive_logs_start_fresh()
Archives existing log files and starts fresh with new logs.
120310
null
public static null delete_logs_start_fresh()
Deletes existing log files and starts fresh with new logs.
120312
null
public static null down_ops_page()
Builds and handles the Download Options page.
3.5
null
public static null els_ops_page()
Builds and handles the API List Server options page.
3.5
null
public static null gen_ops_page()
Builds and handles the General Options page.
3.5
null
public static null info_page()
Builds and handles the s2Member Info page.
3.5
null
public static null integrations_page()
Builds and handles the Integrations page.
3.5
null
public static null log_file_downloader()
Handles log file downloads.
120310
null
public static null logs_page()
Builds and handles the Logs page.
120310
null
public static null logs_zip_downloader()
Handles log file downloads (in ZIP format).
120310
null
public static null mms_ops_page()
Builds and handles the Main Multisite Options page.
3.5
null
public static null paypal_buttons_page()
Builds and handles the PayPal Button Generator page.
3.5
null
public static null paypal_ops_page()
Builds and handles the Paypal Options page.
3.5
null
public static null res_ops_page()
Builds and handles the Restriction Options page.
3.5
null
public static null scripting_page()
Builds and handles the API Scripting page.
3.5
null
public static null start_page()
Builds and handles the Quick Start page.
3.5
null
public static null trk_ops_page()
Builds and handles the API Tracking options page.
3.5
null
public static bool update_all_options(array $new_options, bool $verified, bool $update_other, bool|array $display_notices, bool|array $enqueue_notices, bool $request_refresh)
Saves all options from any menu page.
Can also be self-verified; and configured extensively with function parameters.
3.5
array $new_options - Optional. Force feed an array of new options. Defaults to $_POST
vars. If $new_options
are passed in, be SURE that you've already applied stripslashes_deep()
.
bool $verified - Optional. Defaults to false. If true, wp_verify_nonce()
is skipped in this routine.
bool $update_other - Optional. Defaults to true. If false, other option-dependent routines will not be processed.
bool|array $display_notices - Optional. Defaults to true. Can be false, or an array of certain notices that can be displayed.
bool|array $enqueue_notices - Optional. Defaults to false. Can be true, or an array of certain notices that should be enqueued.
bool $request_refresh - Optional. Defaults to false. If true, resulting success
notice will include a link to refresh the menu page.
bool - True if all s2Member options were updated successfully, else false.
Administrative menu pages.