PHP Class VideoPress_AJAX, jetpack

Afficher le fichier Open project: automattic/jetpack Class Usage Examples

Méthodes publiques

Méthode Description
init ( ) : VideoPress_AJAX Initialize the VideoPress_AJAX and get back a singleton instance.
wp_ajax_update_transcoding_status ( ) : void Ajax action to update the video transcoding status from the WPCOM API.
wp_ajax_videopress_get_upload_token ( ) : void Ajax method that is used by the VideoPress uploader to get a token to upload a file to the wpcom api.

Private Methods

Méthode Description
__construct ( ) Private VideoPress_AJAX constructor.

Method Details

init() public static méthode

Initialize the VideoPress_AJAX and get back a singleton instance.
public static init ( ) : VideoPress_AJAX
Résultat VideoPress_AJAX

wp_ajax_update_transcoding_status() public méthode

Ajax action to update the video transcoding status from the WPCOM API.

wp_ajax_videopress_get_upload_token() public méthode

Ajax method that is used by the VideoPress uploader to get a token to upload a file to the wpcom api.