Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
225 views
in Technique[技术] by (71.8m points)

javascript - Which hooks can add data to existing reports in woocommerce-admin?

I am trying to modify the sales reports in woocommerce-admin analytics. Currently the standard reports compare current sales with last year's sales. I would like to add sales targets, so that current sales can be compared to sales targets.

I have seen the add-report example: https://github.com/woocommerce/woocommerce-admin/tree/main/docs/examples/extensions

But instead of adding a new report, I'd like to add a simple "sales targets" dataset to the existing reports.

Which hooks or filters should I use?

question from:https://stackoverflow.com/questions/65871308/which-hooks-can-add-data-to-existing-reports-in-woocommerce-admin

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...