Skip to content

Commit

Permalink
Update modules/images/webp-uploads/helper.php
Browse files Browse the repository at this point in the history
Co-authored-by: Eugene Manuilov <manuilov@google.com>
  • Loading branch information
mehulkaklotar and eugene-manuilov committed May 3, 2022
1 parent 389d7cb commit 2839ad3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/images/webp-uploads/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ function webp_uploads_generate_additional_image_source( $attachment_id, array $s
* @param string $image_size The size name that would be used to create this image, out of the registered subsizes.
* @param array $size_data An array with the dimensions of the image: height, width and crop {'height'=>int, 'width'=>int, 'crop'}.
* @param string $mime The target mime in which the image should be created.
*
* @return array|null|WP_Error An array with the file and filesize if the image was created correctly otherwise a WP_Error
*/
$image = apply_filters( 'webp_uploads_pre_generate_additional_image_source', null, $attachment_id, 'full', $size_data, $mime );
Expand Down

0 comments on commit 2839ad3

Please sign in to comment.