承接 wp-media/wp-rocket-cli 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wp-media/wp-rocket-cli

最新稳定版本:v1.3

Composer 安装命令:

composer require wp-media/wp-rocket-cli

包简介

Add a `wp rocket` command to support the WP Rocket plugin

README 文档

README

This repository contains a WP-CLI command for the WP Rocket plugin. After installing this plugin, you will have access to a wp rocket command.

Supported commands

  • wp rocket activate-cache --htaccess=<true|false> -- Set WP_CACHE to true and clean WP Rocket cache. To also update the htaccess on Apache, use the additional htaccess parameter.
  • wp rocket deactivate-cache --htaccess=<true|false> -- Set WP_CACHE to false and clean WP Rocket cache. To also update the htaccess on Apache, use the additional htaccess parameter.
  • wp rocket clean --post_id=<post_id> --permalink=<permalink> --lang=<lang> --blog_id=<blog_id> -- Purge cache files.
  • wp rocket clean --confirm -- Purge cache files without prompting for confirmation (usefull for automation tools/scripts)
  • wp rocket preload -- Preload cache files.
  • wp rocket regenerate --file=<file> -- Regenerate .htaccess, advanced-cache.php or the WP Rocket config file.
  • wp rocket regenerate --file=config --nginx=true -- regenerate the config file on Nginx hosts.
  • wp rocket cdn --enable=<enable> --host=<host> --zone=<zone> -- Enable / Disable CDN with the specified host and zone.
  • wp rocket export -- Exports the WP Rocket settings as a json file to the current directory.
  • wp rocket import --file=settings.json -- Imports the settings contained in the provided json file.

Installing

If you're using WP-CLI v0.23.0 or later, you can install this package with:

wp package install wp-media/wp-rocket-cli

统计信息

  • 总下载量: 120.48k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 73
  • 点击次数: 3
  • 依赖项目数: 2
  • 推荐数: 1

GitHub 信息

  • Stars: 73
  • Watchers: 15
  • Forks: 38
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 未知

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固