verygoodplugins

Untitled

May 25th, 2021 (edited)
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.24 KB | None | 0 0
  1. function fen_ignore_error( $ignore, $error ) {
  2.  
  3.     if( false !== strpos( $error['file'], 'wp-includes/meta.php' ) ) {
  4.         return true;
  5.     }
  6.  
  7.     return $ignore;
  8.  
  9. }
  10.  
  11. add_filter( 'fen_ignore_error', 'fen_ignore_error', 10, 2 );
Add Comment
Please, Sign In to add comment