PHP 클래스 Admin_Apple_Async, apple-news

상속: extends Apple_News
파일 보기 프로젝트 열기: alleyinteractive/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 )