PHP
add_filter("mylistingsingleog:image", function ($logo) {
return $logo;
});How to Test
- Use Facebook’s Sharing Debugger
- Enter the URL of the listing
- Click Debug
- Review the og:image output