Advertisement
verygoodplugins

Untitled

Apr 28th, 2022
883
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['message'], 'Allowed memory' ) ) {
  4.         $ignore = true;
  5.     }
  6.  
  7.     return $ignore;
  8.  
  9. }
  10.  
  11. add_filter( 'fen_ignore_error', 'fen_ignore_error', 10, 2 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement