| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Flying Scripts |
| 4 |
* Plugin URI: https://wordpress.org/plugins/flying-scripts/ |
| 5 |
* Description: Delay JavaScript to boost speed by loading scripts only when needed, reducing render-blocking for faster loading and a smoother user experience. |
| 6 |
* Author: WP Speed Matters |
| 7 |
* Author URI: https://wpspeedmatters.com/ |
| 8 |
* Version: 1.2.4 |
| 9 |
* Text Domain: flying-scripts |
| 10 |
*/ |
| 11 |
|
| 12 |
// If this file is called directly, abort. |
| 13 |
if (! defined('WPINC')) { |
| 14 |
die; |
| 15 |
} |
| 16 |
|
| 17 |
// Define constant with current version |
| 18 |
define('FLYING_SCRIPTS_VERSION', '1.2.4'); |
| 19 |
|
| 20 |
include('init-config.php'); |
| 21 |
include('settings/index.php'); |
| 22 |
include('inject-js.php'); |
| 23 |
include('html-rewrite.php'); |
| 24 |
include('shortcuts.php'); |
| 25 |
add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'flying_scripts_add_shortcuts'); |