wpseek.com
A WordPress-centric search engine for devs and theme authors
image_sideload_extensions › WordPress Filter Hooks
Since5.8.0
Deprecatedn/a
› apply_filters( 'image_sideload_extensions', $allowed_extensions, $file )
| Parameters: (2) |
|
| Defined at: |
|
| Codex: |
Filters the list of allowed file extensions when sideloading an image from a URL.
The default allowed extensions are: - `jpg` - `jpeg` - `jpe` - `png` - `gif` - `webp`Related Functions: wp_get_video_extensions, image_resize_dimensions, wp_get_audio_extensions, wp_image_src_get_dimensions, image_add_caption, media_sideload_image