wordpress / latest / classes / rsscache / error.html

RSSCache::error( $errormsg, $lvl = E_USER_WARNING )

Source

File: wp-includes/rss.php. View all references

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

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/rsscache/error