Метод |
Описание |
|
__construct ( ) |
|
|
attachment_file_exists ( $file_url ) |
|
|
check_to_download_file ( ) |
Ensures a local copy of the imported xml file is available for local reading at the final import step |
|
check_to_upload_file ( $data, $postarr ) |
|
|
delete_file ( $file_name ) |
|
|
filter_filetype_check ( $filetype_data, $file, $filename, $mimes ) |
Check filetype support against Mogile |
|
filter_unique_filename ( $filename, $ext, $dir, $unique_filename_callback ) |
Filter's the return value of wp_unique_filename() |
|
get_files_service_hostname ( ) |
|
|
get_unique_filename ( $file ) |
Ensure filename uniqueness prior to WP 4.5's wp_unique_filename filter |
|
get_upload_dir ( $upload ) |
|
|
image_resize ( boolean $ignore, integer $id, array | string $size ) : boolean | array |
Image resizing service. Takes place of image_downsize(). |
|
save_image_file ( $override, $filename, $image, $mime_type, $post_id ) |
|
|
upload_file ( $details, $upload_type ) |
|
|
upload_url_path ( $upload_url_path, $option ) |
|
|