Links for reports
-
Hello,
is it possible to have “Export Orders” link without the current date for certain, prefixed ranges like “today”, “yesterday”, “week”, “month”?I’ve added to WP Admin menu a new custom item “Reports” which cointains fields chosen by the shop ownwer. This menu item has the simple following link:
/wp-admin/admin.php?page=wcj-tools&tab=export_ordersand it works but I would like to add some subitems too (like the already named: “Today”, “yesterday”; “week”, “month” and so on…)Links are generated with dynamic parameters added to the urls EG:
https://www.mysite.com/wp-admin/admin.php?page=wcj-tools&tab=export_orders&start_date=2019-10-21&end_date=2019-10-21&range=todayBut there’s no way to add a dydamic date like this in the plugin I’ve used to add the menu item (“ADMIN MENU EDITOR”, https://w-shadow.com/blog/2008/12/20/admin-menu-editor-for-wordpress/)
If needed and if it would work, I could try to manage it -with some hints- with a filter instead of a plugin
The topic ‘Links for reports’ is closed to new replies.