PHP 41
Function "9999px" - Image upload error By micha on 18th October 2023 03:58:14 PM
  1. // Fix for old systems
  2.  
  3. function custom_big_image_size_threshold( $threshold ) {
  4.         return 4000; // new threshold
  5. }
  6. add_filter('big_image_size_threshold', 'custom_big_image_size_threshold', 999, 1);

Paste is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.