Function Reference/wp load image
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions. All code that uses this function should be converted to use its replacement if one exists. See also
Use any of these functions
This function has been deprecated in favour of wp_get_image_editor().
Load an image from a string, if PHP supports it.
<?php wp_load_image( $file ); ?>
- (string) (required) Filename of the image to load.
- Default: None
- The resulting image resource on success, Error string on failure.
wp_load_image() is located in