| 1 | <?php |
||
| 7 | class Asset_Tools { |
||
| 8 | /** |
||
| 9 | * Given a minified path, and a non-minified path, will return |
||
| 10 | * a minified or non-minified file URL based on whether SCRIPT_DEBUG is set and truthy. |
||
| 11 | * |
||
| 12 | * Both `$min_base` and `$non_min_base` are expected to be relative to the |
||
| 13 | * root Jetpack directory. |
||
| 14 | * |
||
| 15 | * @since 5.6.0 |
||
| 16 | * |
||
| 17 | * @param string $min_path |
||
| 18 | * @param string $non_min_path |
||
| 19 | * @return string The URL to the file |
||
| 20 | */ |
||
| 21 | public function get_file_url_for_environment( $min_path, $non_min_path ) { |
||
| 27 | } |
||
| 28 |