Store Locator Plus®

MySLP_Settings_General
in package

Class MySLP_Settings_General

Table of Contents

Methods

remove_settings()  : mixed
Remove settings we do not want.
remove_settings_for_all_users()  : mixed
Remove settings for all users.
remove_settings_for_regular_users()  : mixed
Remove settings for non admin users.
remove_the_settings()  : mixed
Remove the settings.

Methods

remove_settings_for_all_users()

Remove settings for all users.

private remove_settings_for_all_users(SLP_Settings $settings) : mixed

If you need a setting to appear on the master site (Super Admin Login : Site 1) then put it in the remove_settings_for_regular_users instead.

Parameters
$settings : SLP_Settings

remove_the_settings()

Remove the settings.

private remove_the_settings(SLP_Settings $settings, array<string|int, mixed> $things_to_remove) : mixed
Parameters
$settings : SLP_Settings
$things_to_remove : array<string|int, mixed>

        
On this page

Search results