Created
December 18, 2015 20:38
-
-
Save kraftbj/f859fdf72b58db8d397b to your computer and use it in GitHub Desktop.
Change Jetpack default OG image
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 // remove if in an existing file. | |
add_filter( 'jetpack_open_graph_image_default', 'example_change_default_image' ); | |
function example_change_default_image( $image ) { | |
return 'https://s0.wp.com/i/blank.jpg'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment