PHP 클래스 WPDKCron

부터: 1.4.20
저자: =undo= ([email protected])
파일 보기 프로젝트 열기: wpxtreme/wpdk 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$name
$recurrence
$timestamp

공개 메소드들

메소드 설명
__construct ( string $name, string $timestamp = false, string $recurrence ) : WPDKCron Create an instance of WPDKCron class
cron ( ) Override with your schedule cron process
remove ( ) Remove/Unschedule a cron job

메소드 상세

__construct() 공개 메소드

Create an instance of WPDKCron class
public __construct ( string $name, string $timestamp = false, string $recurrence ) : WPDKCron
$name string Unique cron name
$timestamp string Optional. Timestamp for when to run the event.
$recurrence string Optional. How often the event should recur. See WPDKCronSchedules
리턴 WPDKCron

cron() 공개 메소드

Override with your schedule cron process
public cron ( )

remove() 공개 메소드

Remove/Unschedule a cron job
public remove ( )

프로퍼티 상세

$name 공개적으로 프로퍼티

public $name

$recurrence 공개적으로 프로퍼티

public $recurrence

$timestamp 공개적으로 프로퍼티

public $timestamp