MagpieRSS::error() WordPress Method
The MagpieRSS::error() WordPress method is used to return an error message. This is useful for debugging purposes.
MagpieRSS::error( $errormsg, $lvl = E_USER_WARNING ) #
Source
File: wp-includes/rss.php
function error( $errormsg, $lvl = E_USER_WARNING ) {
if ( MAGPIE_DEBUG ) {
trigger_error( $errormsg, $lvl);
} else {
error_log( $errormsg, 0);
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub