PHP Class Admin_Apple_Async, apple-news

Inheritance: extends Apple_News
Afficher le fichier Open project: alleyinteractive/apple-news

Méthodes publiques

Méthode 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 méthode

Constructor.
public __construct ( $settings )

async_push() public méthode

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 méthode

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 )