文件操作 - EnqueueScript.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Helpers/EnqueueScript.php
编辑文件内容
<?php namespace Give\Helpers; /** * This class use to register script. * This class internally uses asset information to set script dependencies and version generated by @wordpress/dependency-extraction-webpack-plugin package. * It also handles script translation registration. * * @since 2.19.6 */ class EnqueueScript { /** * @since 2.19.6 * * @param string $scriptId * @param string $scriptPath * * @return \Give\Framework\EnqueueScript */ public static function make($scriptId, $scriptPath) { return new \Give\Framework\EnqueueScript( $scriptId, $scriptPath, GIVE_PLUGIN_DIR, GIVE_PLUGIN_URL, 'give' ); } }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件