This topic contains 3 reply and 2 voices, and was last updated by Brent 4 years, 2 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
August 17, 2015 at 1:36 am 67388
Brent Hello, I'd like to request additional hooks in the templates. There aren't enough to do the customization I'd like. I'm currently copying the templates into my theme to upgrade them in a safe manner, but ideally, I'd love to have the hooks to make upgrades easier. For example: wp-content\plugins\dokan\templates\orders\details.php Can we get a hook for either just above so that I can add additional panels to this screen? Thanks
August 17, 2015 at 3:07 pm 67599
Nayem Nayem

Hello Brent,

Can you please tell me specifically where you need those hooks? You can also provide screenshot with few marks where the hook should be needed or what type of hook do you need?

Thanks.

August 17, 2015 at 3:16 pm 67602
Brent Brent

< ?php do_action( 'dokan_order_detail_before_order_panels', $order ); ?>
< ?php do_action( 'dokan_order_detail_after_order_panels', $order ); ?>

I’ve implemented the following in my theme, just above and below the

within those files. I could see others wanting additional hooks, but these two worked in my use case.
August 18, 2015 at 6:23 am 67730
Brent Brent

I found these currently implemented hooks which seem to be working well for my needs.

dokan_order_content_inside_after
dokan_order_inside_content

Viewing 3 Posts - 1 through 3 (of 3 total)