• Resolved PIX GEEKS

    (@pixgeeks)


    Hi

    Since version 14.0 I encounter a lot of bugs and issues.
    If most of them seemed to be fixed, one is still opened :

    filter ‘wpseo_opengraph_image_size’ is not working anymore

    I had to revert to version 13.5

    Please can you fix this ?

    Thanks

    • This topic was modified 4 years, 10 months ago by PIX GEEKS.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @pixgeeks since v14.0 of Yoast SEO for WordPress, the wpseo_opengraph filter has been deprecated.

    You can learn more about it here and what you can do as a replacement — https://developer.yoast.com/customization/yoast-seo/api-filter-actions-deprecations

    @pixgeeks isn’t talking about wpseo_opengraph – they’re trying to use the wpseo_opengraph_image_size hook. This is related to the wpseo_opengraph_image hook, which is still very much operational (and called by the new Image_Presenter class).

    wpseo_opengraph_image works, wpseo_opengraph_image_size doesn’t.

    (The equivalent for twitter, wpseo_twitter_image, also works)

    If these other hooks have been deprecated too, they need to be listed in the documentation.

    • This reply was modified 4 years, 9 months ago by aussig. Reason: Added note about docs

    Hi,

    Thank you for bringing this issue to our attention. We apologize for the trouble you are experiencing with our plugin. An issue report is currently open with our development team for this issue.

    In the meantime, we suggest signing up for our newsletter as that is where we will announce product changes and updates. You can sign-up for it here https://yoast.com/newsletter/.

    @pixgeeks

    Our developers indicate that this does not appear to be an issue. The filter should still work. Instead, we may need to update our documentation and code snippets. Can you confirm if you use the filter below:

    add_filter( 'wpseo_opengraph_image_size', 'override_images_size');
    
    	function override_images_size() {
    		return 'medium';
    	}

    That the issue is resolved?

    Plugin Support devnihil

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hook ‘wpseo_opengraph_image_size’ not working anymore’ is closed to new replies.