WP Async Task

程序名称:WP Async Task

授权协议: MIT

操作系统: 跨平台

开发语言: PHP

WP Async Task 介绍

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 官网

https://github.com/techcrunch/wp-async-task/

相关编程语言

Pangu 是 Atom 编辑器插件,可以在中文和英文字符之...
Netconf for ATOM 是诺基亚开发的一个用来学习和测试...
vim-mode 是一项正在进行的 Atom 包的工作,通过连接...
APICloud 为 Atom 编辑器推出的开发工具包。包含新建...
ATOM-Gitee (前身是 ATOM-GitOSC),ATOM 的 码云扩...