PHP Класс Admin_Apple_Async, apple-news

Наследование: extends Apple_News
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( $settings )

async_push() публичный Метод

Handle performing an asynchronous push request.
С версии: 1.0.0
public async_push ( integer $post_id, integer $user_id )
$post_id integer
$user_id integer

passthrough_cron_to_jobs() публичный Метод

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