woocommerce_price_filter_sql

woocommerce_price_filter_sql

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_price_filter_sql') is found 1 times:

  • /includes/widgets/class-wc-widget-price-filter.php line 182

    Warning: Undefined array key 186 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 187 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    178
    179
    180
    181
    182
    183
    184
    185
    186
                    AND {$wpdb->posts}.post_status = 'publish'
                    " . $tax_query_sql['where'] . $meta_query_sql['where'] . $search_query_sql . '
                )';
     
            $sql = apply_filters( 'woocommerce_price_filter_sql', $sql, $meta_query_sql, $tax_query_sql );
     
            return $wpdb->get_row( $sql ); // WPCS: unprepared SQL ok.
        }
    }