wp_get_missing_image_subsizes

wp_get_missing_image_subsizes

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-5.3.2

apply_filters('wp_get_missing_image_subsizes') is found 1 times:

  • /wp-admin/includes/image.php line 136
    	 * @param array $missing_sizes Array with the missing image sub-sizes.
    	 * @param array $image_meta    The image meta data.
    	 * @param int   $attachment_id The image attachment post ID.
    	 */
    	return apply_filters( 'wp_get_missing_image_subsizes', $missing_sizes, $image_meta, $attachment_id );
    }
    
    /**
     * If any of the currently registered image sub-sizes are missing,
     * create them and update the image meta data.
     *