Change JavaScript delay timeout

FlyingPress has a default timeout of 10s for delaying JavaScript. You can change it to any custom timeout.

Here is how to set the timeout as 5s:

add_filter('flying_press_js_delay_timeout', function(){

return 5;


Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.