RSSCache::error()publicWP 1.0

Метод класса: RSSCache{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$RSSCache = new RSSCache();
$RSSCache->error ( $errormsg, $lvl );
$errormsg (обязательный)
-
$lvl **
-
По умолчанию: E_USER_WARNING

Код RSSCache::error() WP 6.4.3

function error ($errormsg, $lvl=E_USER_WARNING) {
	$this->ERROR = $errormsg;
	if ( MAGPIE_DEBUG ) {
		trigger_error( $errormsg, $lvl);
	}
	else {
		error_log( $errormsg, 0);
	}
}