PHP 클래스 VideoPress_CLI, jetpack

상속: extends WP_CLI_Command
파일 보기 프로젝트 열기: automattic/jetpack

공개 메소드들

메소드 설명
activate_cron ( $args ) Actives the given cron job
cleanup_videos ( ) Manually runs the job to cleanup videos from the media library that failed during the upload process.
cron_status ( $args ) Checks for the current status of a cron job.
deactivate_cron ( $args ) Actives the given cron job
import ( $args ) Import a VideoPress Video
list_crons ( ) List out all of the crons that can be run.

메소드 상세

activate_cron() 공개 메소드

## OPTIONS : The name of the cron job to check ## EXAMPLES wp videopress activate_cron cleanup
public activate_cron ( $args )

cleanup_videos() 공개 메소드

## EXAMPLES wp videopress cleanup_videos
public cleanup_videos ( )

cron_status() 공개 메소드

## OPTIONS : The name of the cron job to check ## EXAMPLES wp videopress cron_status cleanup
public cron_status ( $args )

deactivate_cron() 공개 메소드

## OPTIONS : The name of the cron job to check ## EXAMPLES wp videopress deactivate_cron cleanup
public deactivate_cron ( $args )

import() 공개 메소드

## OPTIONS : Import the video with the specified guid ## EXAMPLES wp videopress import kUJmAcSf
public import ( $args )

list_crons() 공개 메소드

## EXAMPLES wp videopress list_crons
public list_crons ( )