You appear to be a bot. Output may be restricted
Description
Construct new sizes meta
Usage
Jetpack_Photon_ImageSizes::__construct( $attachment_id, $data );
Parameters
- $attachment_id
- ( int ) required – Attachment ID.
- $data
- ( array ) required – Attachment metadata.
Returns
void
Source
File name: jetpack/_inc/lib/class.jetpack-photon-image-sizes.php
Lines:
1 to 5 of 5
public function __construct( $attachment_id, $data ) { $this->data = $data; $this->image = new Jetpack_Photon_Image( $data, get_post_mime_type( $attachment_id ) ); $this->generate_sizes(); }