Home Forums Theme Support Dokan Feature Request: Additional hooks in templates

This topic is: not resolved

This topic contains 3 replies, has 2 voices, and was last updated by  Brent 3 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #67388

    Brent
    Member
    Post count: 6

    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

    #67599

    Nayem
    Moderator
    Post count: 6480

    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.

    #67602

    Brent
    Member
    Post count: 6

    < ?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.
    #67730

    Brent
    Member
    Post count: 6

    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 4 posts - 1 through 4 (of 4 total)

The topic ‘Feature Request: Additional hooks in templates’ is closed to new replies.