mycred_override_settings
Description
This function checks if the master template feature is enabled on a Multisite installation. Will return FALSE
if Multisite are not being used.
Available since version 1.0
Returns
(bool) TRUE
if the master template feature is enabled else FALSE
.
Parameters
Param | Type | Required | Description | |
---|---|---|---|---|
function mycred_override_settings( |
||||
No params | ||||
) { ... } |
Examples
Example 1: Default usage
if ( mycred_override_settings() ) { // Master Template is enabled }