Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- add_filter( 'dn_js_interval', 'recude_load_for_desktop_notifications' );
- function recude_load_for_desktop_notifications( $interval ){
- //Execute the ajax request every 30 seconds.
- return 30000;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement