• Resolved jurajj

    (@jurajj)


    Hi,
    how can I edit view of HTML checkboxes using woof_html_types_view_checkbox hook?

    I need to add some HTML markup inside. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    This hook transfers the path to the file with HTML of the element.

    In the child theme, create a file with a custom checkbox. And use the path to this file

    Checkbox Example – \plugins\woocommerce-products-filter\views\html_types\checkbox.php

    Thread Starter jurajj

    (@jurajj)

    Hello,
    can You please demonstrate an example of using this hook? It will be very very helpful not only for me ??
    I need to add some HTML markup inside <li> element in “/views/html_types/checkbox.php”.

    Thank You ??

    • This reply was modified 4 years ago by jurajj.
    Plugin Support mediawebster

    (@mediawebster)

    Hello

    add_filter(“woof_html_types_view_checkbox”, function(){
    $path = // path to your custom template
    return $path;
    });

    Plugin Author RealMag777

    (@realmag777)

    @jurajj

    Hello, sorry, this request was missed

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using woof_html_types_view_checkbox hook’ is closed to new replies.