wp_get_missing_image_subsizes

wp_get_missing_image_subsizes

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('wp_get_missing_image_subsizes') is found 1 times:

  • /wp-admin/includes/image.php line 146
    	 *                               missing image sizes, keyed by image size name.
    	 * @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.
     *