Last active
November 15, 2017 14:27
-
-
Save joeydi/d8328445543876172594 to your computer and use it in GitHub Desktop.
WordPress SEO Open Graph Image Size Filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function my_opengraph_image_size() { | |
return 'large'; | |
} | |
add_filter( 'wpseo_opengraph_image_size', 'my_opengraph_image_size', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment