没有合适的资源?快使用搜索试试~ 我知道了~
WPAsyncTask.zip
共11个文件
php:5个
dist:2个
md:2个
需积分: 9 0 下载量 11 浏览量
2019-07-15
13:07:53
上传
评论
收藏 11KB ZIP 举报
温馨提示
WP Async Task 是 TechCrunch 推出的 WordPress 的异步任务插件,该插件用于 TechCrunch.com 网站。 示例代码: <?php class JPB_Async_Task extends WP_Async_Task { protected $action = 'save_post'; /** * Prepare data for the asynchronous request * * @throws Exception If for any reason the request should not happen * * @param array $data An array of data sent to the hook * * @return array */ protected function prepare_data( $data ) {} /** * Run the async task action */ protected function run_action( $data ) {} }
资源推荐
资源详情
资源评论
收起资源包目录
wp-async-task-master.zip (11个子文件)
wp-async-task-master
composer.json 807B
bootstrap.php.dist 112B
tests
phpunit
WP-Async-TaskTest.php 13KB
mocks
BaseAsync.php 167B
EmptyAsync.php 75B
Async.php 155B
LICENSE.md 1KB
.gitignore 34B
phpunit.xml.dist 277B
README.md 4KB
wp-async-task.php 7KB
共 11 条
- 1
资源评论
weixin_39840924
- 粉丝: 492
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功