Articles on: Developers

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;});

Updated on: 23/11/2023

Was this article helpful?

Share your feedback


Thank you!