swte

Untitled

Mar 9th, 2021 (edited)
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Plugin Name: Swift Performance Tweaks
  4.  */
  5.  
  6. // Use nicer file name for merged scripts, like "scripts-a00.js"
  7. add_filter('swift_performance_js_filename', function($filename){
  8.     return 'scripts-' . substr($filename, 0, 3) . '.js';
  9. });
Add Comment
Please, Sign In to add comment