wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Missing filter for og:image:type

Open Dominic-Marcelino opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

When setting a custom og-image via the wpseo_opengraph_image there's no way to also set the image type. In this case it will always fall back to the type of the default image.

Describe the solution you'd like

Add a filter wpseo_opengraph_image_type which allows us to set the type manually

Why do you think this feature is something we should consider for the Yoast SEO plugins?

In case a user set's a custom image which has an other format than the default image, Yoast SEO will add a wrong type tag. This shouldn't happen.

Additional context

It's the same issue as for image with and high reported in #15052

Dominic-Marcelino avatar May 03 '24 10:05 Dominic-Marcelino

Thank you for suggesting a new feature for the Yoast SEO plugin to add a new filter for the og:image:type

What's next?  Our product team will assess feature requests in relation to other open bug reports like https://github.com/Yoast/wordpress-seo/issues/15052 and new features. Based on their assessment, the feature request will be given a priority level. Our developers work on the highest priority first. Unfortunately, this means we cannot give you an estimate if or when they'll start working on your request.

josevarghese avatar May 06 '24 12:05 josevarghese

Will be closed by #21383 and #302

Dominic-Marcelino avatar May 28 '24 11:05 Dominic-Marcelino

Hi @Dominic-Marcelino

Yes, our team is working on it, and it's now under review process. As its on the development stage and I hope it will be included on our coming version, I am closing this feature request.

josevarghese avatar May 28 '24 12:05 josevarghese