mycred_centralize_log

Description

This function checks if the central log feature is enabled on a Multisite installation. Will return FALSE if Multisite are not being used.

Available since version 1.3

Returns

(bool) TRUE if the central log feature is enabled else FALSE.

Parameters

Param Type Required Description
function mycred_centralize_log(
No params
) { ... }

Examples

Example 1: Default usage

if ( mycred_centralize_log() ) {

	// Central logging is enabled

}