MYSLP_DEPLOYMENT_LEVEL
public
mixed
MYSLP_DEPLOYMENT_LEVEL
= 'live'
public
mixed
MYSLP_DEPLOYMENT_LEVEL
= 'live'
public
mixed
MYSLP_VERSION
= $meta['Version']
public
mixed
SA_ALLOW_CACHE
= $sa_enable_cache
public
mixed
SA_ASSETS_DIR
= \trailingslashit(\SA_PARENT_DIR) . 'assets/'
public
mixed
SA_ASSETS_URL
= \trailingslashit(\SA_PARENT_URL) . 'assets/'
public
mixed
SA_CONTROLLERS_DIR
= \trailingslashit(\SA_PARENT_DIR) . 'controllers/'
public
mixed
SA_CONTROLLERS_URL
= \trailingslashit(\SA_PARENT_URL) . 'controllers/'
public
mixed
SA_CORE_DIR
= \trailingslashit(\SA_PARENT_DIR) . 'core/'
public
mixed
SA_CORE_URL
= \trailingslashit(\SA_PARENT_URL) . 'core/'
public
mixed
SA_DB_CACHE_TIMEOUT
= $sa_cache_timeout * 60
public
mixed
SA_EXTENSIONS_DIR
= \trailingslashit(\SA_PARENT_DIR) . 'extensions/'
public
mixed
SA_EXTENSIONS_URL
= \trailingslashit(\SA_PARENT_URL) . 'extensions/'
public
mixed
SA_META_PREFIX
= '_sa_'
public
mixed
SA_MODELS_DIR
= \trailingslashit(\SA_PARENT_DIR) . 'models/'
public
mixed
SA_MODELS_URL
= \trailingslashit(\SA_PARENT_URL) . 'models/'
public
mixed
SA_PARENT_DIR
= \plugin_dir_path(__FILE__)
public
mixed
SA_PARENT_URL
= \plugin_dir_url(__FILE__)
public
mixed
SA_STRIPE_PUBLISHKEY
= $sa_stripe_pub_key
public
mixed
SA_STRIPE_SECRETKEY
= $sa_stripe_sec_key
public
mixed
SA_VIEWS_DIR
= \trailingslashit(\SA_PARENT_DIR) . 'views/'
public
mixed
SA_VIEWS_URL
= \trailingslashit(\SA_PARENT_URL) . 'views/'
public
mixed
SLPLUS_SCRIPTS_MANAGED
= true
public
mixed
SLPLUS_UPLOADDIR
= SLPLUS_PLUGINDIR
public
mixed
SLPLUS_UPLOADURL
= SLPLUS_PLUGINURL
public
mixed
WP_AUTO_UPDATE_CORE
= \false
public
mixed
WP_DEFAULT_THEME
= 'myslp-dashboard-theme'
Sets authorisation cookies containing the originating user information.
user_switching_set_olduser_cookie(int $old_user_id[, bool $pop = false ][, string $token = '' ]) : void
The ID of the originating user, usually the current logged in user.
Optional. Pop the latest user off the auth cookie, instead of appending the new one. Default false.
Optional. The old user's session token to store for later reuse. Default empty string.
Clears the cookies containing the originating user, or pops the latest item off the end if there's more than one.
user_switching_clear_olduser_cookie([bool $clear_all = true ]) : void
Optional. Whether to clear the cookies (as opposed to just popping the last user off the end). Default true.
Gets the value of the cookie containing the originating user.
user_switching_get_olduser_cookie() : string|false
The old user cookie, or boolean false if there isn't one.
Gets the value of the auth cookie containing the list of originating users.
user_switching_get_auth_cookie() : array<int, string>
Array of originating user authentication cookie values. Empty array if there are none.
Switches the current logged in user to the specified user.
switch_to_user(int $user_id[, bool $remember = false ][, bool $set_old_user = true ]) : false|WP_User
The ID of the user to switch to.
Optional. Whether to 'remember' the user in the form of a persistent browser cookie. Default false.
Optional. Whether to set the old user cookie. Default true.
WP_User object on success, false on failure.
Switches off the current logged in user. This logs the current user out while retaining a cookie allowing them to log straight back in using the 'Switch back to {user}' system.
switch_off_user() : bool
True on success, false on failure.
Returns whether or not the current user switched into their account.
current_user_switched() : false|WP_User
False if the user isn't logged in or they didn't switch in; old user object (which evaluates to true) if the user switched into the current user account.
Our loader class. Start Execution here.
MySLP_loader() : void
Setup the SLP Environment (defines, etc.)
slp_setup_environment() : mixed
Upload directory issue warning.
slp_upload_dir_notice() : mixed