WOOF - WooCommerce Products Filter

woof_qs_sort_select_data

For extensionQuick Search

Allows to change sort headers of the table (when sorting in the form presented by drop-down)

add_filter('woof_qs_sort_select_data', 'change_title');

function change_title($data) {
    if (isset($data['price-asc'])) {
        $data['price-asc'] = __('Sort by price: low to high', 'woocommerce-products-filter');
    }
    return $data;
}