[ad_1]
Hi! We’ve been dealing with super annoying issue when wrong og:image is displayed on some social media and we need to manually rescrape it. It happens only to some authors. Couple of WP specialists couldn’t figure it out.
Is there a way how to see what functions / plugins are being fired when the article is published? And in what order? I suspect it is some combination of WP Rocket / Yoast / Social media autopublish maybe, but not sure and we need something of how to debug it.
[ad_2]
Perhaps you could give these plugins a try, in case you haven’t already done so:
[https://wordpress.org/plugins/plugin-detective/])
[https://wordpress.org/plugins/query-monitor/])
The most thorough way to see every single called function is to use xDebug’s profiler. This requires some knowledge to have set up but will give you extremely granular information. Similarly, xDebug’s debugger can let you step through code line by line to search for anomalies.