Created
February 28, 2018 12:53
-
-
Save albionselimaj/12dce2d46bdffcdb30be723a613e6d19 to your computer and use it in GitHub Desktop.
Use listing cover image in share dialog instead of the logo
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 | |
add_filter( 'mylisting\single\og:image', function() { | |
return 'cover'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment