How to specify text displayed by wp_dropdown_categories

I would like to have the field shown by wp_dropdown_categories to read “location” instead of “Select”. That doesn’t seem to be one of the arguments available for the function. I assume it could be changed via the wp_dropdown_cats filter, but I want it changed in only one instance.

If that is not possible, then how would I do it in the filter? (I suppose I could then make the filter conditional so that it applies only where I want it to.)

Source link