Change Posts/ALC to use MailPoet specific image size
This commit is contained in:
@@ -62,7 +62,7 @@ class PostTransformer {
|
|||||||
// get attachment data (src, width, height)
|
// get attachment data (src, width, height)
|
||||||
$image_info = wp_get_attachment_image_src(
|
$image_info = wp_get_attachment_image_src(
|
||||||
$thumbnail_id,
|
$thumbnail_id,
|
||||||
'single-post-thumbnail'
|
'mailpoet_newsletter_max'
|
||||||
);
|
);
|
||||||
|
|
||||||
// get alt text
|
// get alt text
|
||||||
|
Reference in New Issue
Block a user