New Hooks

Allow to change the order in “Where to filter” dropdown.

apply_filters( 'wpc_taxonomy_location_terms', $terms, $taxonomy );

Example:

function custom_default_category($terms, $taxonomy) {
    if ($taxonomy === 'product_cat' && is_array($terms)) {
        $new_terms = [];
        $default_key = array_search("category_name", $terms, true);

        if ($default_key !== false) {
            $new_terms[$default_key] = $terms[$default_key]; // Set category_name first
            unset($terms[$default_key]); // Remove it from the original array
        }

        $terms = $new_terms + $terms; // Merge back while keeping keys
    }
    return $terms;
}
add_filter('wpc_taxonomy_location_terms', 'custom_default_category', 10, 2);