• Resolved baddon250

    (@baddon250)


    You guys did an update a few days ago and now my customizations are no longer working on my search bar. Here is the code that I have.

    add_filter( 'dgwt/wcas/labels', function ( $labels ) {
        $new_labels = array('tax_product_cat_plu'=>'<span><i class="fa-solid fa-light-ceiling headline-icon" aria-hidden="true"></i></span> Builder-Trusted Products','product_plu'=>'<span><i class="fa-solid fa-fire-flame-curved headline-icon"></i></span> Latest Products');
        $labels = array_merge($labels,$new_labels); 
        return $labels;
    });

    And here’s a screenshot of what it’s doing.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Update bugged my search bar’ is closed to new replies.