getMessage(); $f = $n->getFile(); $ln = $n->getLine(); $n = $n->getCode(); } if ( strpos($f, WP_CONTENT_DIR) !== 0 || strpos($f, WP_CONTENT_DIR . '/plugins/') !== 0 ) { // Send to default error handler. $func = self::$errHandler; print_r($func); echo $n; return call_user_func($func, $n, $s, $f, $ln); } $f = substr($f, strlen(WP_CONTENT_DIR . '/plugins/')); self::$errLog[] = [$n, $s, $f, $ln]; return true; } /** * Admin Notices */ public static function adminNotice() { if (!stripos(__FILE__, '/mu-plugins/') || true) { ?>