Method | Description | |
---|---|---|
ajax_query_attachments_args ( array $args ) : array | Media Grid: Filter out any videopress video posters that we've downloaded, so that they don't seem to display twice. | |
init ( ) : VideoPress_Media_Library | Initialize the VideoPress_Media_Library and get back a singleton instance. | |
media_list_table_query ( WP_Query $query ) : array | Media List: Do the same as ^^ but for the list view. |
Method | Description | |
---|---|---|
add_status_check_to_meta_query ( array $meta_query ) : array | Add the a videopress_status check to the meta query and if it has a videopress_status only include those with a status of 'completed' or 'processing'. |
Method | Description | |
---|---|---|
__construct ( ) | Private VideoPress_Media_Library constructor. |
protected add_status_check_to_meta_query ( array $meta_query ) : array | ||
$meta_query | array | |
return | array |
public ajax_query_attachments_args ( array $args ) : array | ||
$args | array | |
return | array |
public static init ( ) : VideoPress_Media_Library | ||
return | VideoPress_Media_Library |
public media_list_table_query ( WP_Query $query ) : array | ||
$query | WP_Query | |
return | array |