PHP Class Admin_Apple_Async, apple-news

Inheritance: extends Apple_News
显示文件 Open project: alleyinteractive/apple-news

Public Methods

Method Description
__construct ( $settings ) Constructor.
async_push ( integer $post_id, integer $user_id ) Handle performing an asynchronous push request.
passthrough_cron_to_jobs ( $hooks ) On WordPress VIP only, run async publishing requests through the jobs system.

Method Details

__construct() public method

Constructor.
public __construct ( $settings )

async_push() public method

Handle performing an asynchronous push request.
Since: 1.0.0
public async_push ( integer $post_id, integer $user_id )
$post_id integer
$user_id integer

passthrough_cron_to_jobs() public method

This will allow for a maximum publishing time up to 12 hours, which is well in excess of even the most lengthy API request.
Since: 1.0.0
public passthrough_cron_to_jobs ( $hooks )