最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to identify which php file a plugin is using on page load?

programmeradmin1浏览0评论

I need to make some custom adjustments to a 3rd party plugin. My plan is to use PHPstorm and xdebug to dive into the plugin as it loads/operates on a product page so I can find out how it works and make the appropriate changes. The only problem is I don't know how to identify which file to set breakpoints on. Is there a good way to do this? Are there any clues I can glean by inspecting a page via chrome/firefox dev tools?

The specific plugin I'm trying to look at is Rightpress's Dynamic Pricing and Discounts and I want to debug it as it loads on a product page.

I need to make some custom adjustments to a 3rd party plugin. My plan is to use PHPstorm and xdebug to dive into the plugin as it loads/operates on a product page so I can find out how it works and make the appropriate changes. The only problem is I don't know how to identify which file to set breakpoints on. Is there a good way to do this? Are there any clues I can glean by inspecting a page via chrome/firefox dev tools?

The specific plugin I'm trying to look at is Rightpress's Dynamic Pricing and Discounts and I want to debug it as it loads on a product page.

Share Improve this question asked Mar 10, 2020 at 21:25 fudgefudge 1173 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I am not a real dev, but which helps me in some cases: "Query Monitor". After all, I think you have to start searching backward, step by step and dive into each function.

发布评论

评论列表(0)

  1. 暂无评论