定制 abdallahdeeb/wp-rocket-cli 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

abdallahdeeb/wp-rocket-cli

Composer 安装命令:

composer require abdallahdeeb/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.

Currently supported commands:

  • wp rocket activate -- Set WP_CACHE to true.
  • wp rocket deactivate -- Set WP_CACHE to false.
  • 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 settings load --file=<file> -- Load settings file.

Installing

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

wp package install abdallahdeeb/wp-rocket-cli

Changelog

1.1.AD

  • Add settings load command.

1.1

  • Add regenerate command.

1.0

  • Initial release

统计信息

  • 总下载量: 595
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 38
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固