Admin Hooks - More Please?
Posted: Fri Jul 24, 2026 11:44 am
Hi everyone,
I'm developing a large admin add-on for Phoenix that extends the order management functionality. Im avoiding editing core files like the plague, but have come across a limitation.
I'd like to add an additional action button for the currently selected order in the Orders page, ideally alongside the existing Edit, Delete, Invoice and Packing Slip buttons in the right-hand information panel.
I've found hooks such as extraButtons on the Orders page itself and on the edit view, but I can't find a hook in: where those order-specific action buttons are created.
Before I consider any workaround, I wanted to ask whether I've missed an existing extension point.
If not, would it be possible to add a generic hook in that file? Something along the lines of:
or whatever naming convention you feel is appropriate.
The intention wouldn't just be for my add-on—it would allow any admin extension to add order-specific actions without modifying Phoenix core files. Examples might include:
CRM integrations
Shipping integrations
Fraud checking
ERP exports
Custom order processing tools
It seems like a useful extension point for add-on developers in general.
Is this something that would be considered for a future release? or could I add a hook now in anticipation?
Thanks
I'm developing a large admin add-on for Phoenix that extends the order management functionality. Im avoiding editing core files like the plague, but have come across a limitation.
I'd like to add an additional action button for the currently selected order in the Orders page, ideally alongside the existing Edit, Delete, Invoice and Packing Slip buttons in the right-hand information panel.
I've found hooks such as extraButtons on the Orders page itself and on the edit view, but I can't find a hook in:
Code: Select all
admin/includes/actions/orders/infoboxes/default.phpBefore I consider any workaround, I wanted to ask whether I've missed an existing extension point.
If not, would it be possible to add a generic hook in that file? Something along the lines of:
Code: Select all
$admin_hooks->cat('extraOrderInfoButtons')The intention wouldn't just be for my add-on—it would allow any admin extension to add order-specific actions without modifying Phoenix core files. Examples might include:
CRM integrations
Shipping integrations
Fraud checking
ERP exports
Custom order processing tools
It seems like a useful extension point for add-on developers in general.
Is this something that would be considered for a future release? or could I add a hook now in anticipation?
Thanks