PHP Класс VideoPress_CLI, jetpack

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

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

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