jcore/runner
最新稳定版本:v4.1.0
Composer 安装命令:
composer require jcore/runner
包简介
JCORE Script Runner. A WordPress plugin to easily allow manual running of scripts for maintenance and utility.
README 文档
README
A WordPress plugin to easily allow manual running of scripts for maintenance and utility.
How do I get set up?
Install the plugin in your project. Either as a submodule, or just through the zip file.
Wherever you want in you code (Project theme, separate plugin) add the functions you want to run. Any output you want shown to the user should be echoed.
Use the jcore_runner_functions filter to add your function to the runner. The filter gives you one array that you can add the functions to. Use a unique ID as key and add an array with:
array( 'title' => 'The title shown in the runner', 'callback' => '\namespace\name_of_function', )
统计信息
- 总下载量: 2.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-only
- 更新时间: 2023-12-20