• Resolved ericr23

    (@ericr23)


    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.)

Viewing 1 replies (of 1 total)
  • Thread Starter ericr23

    (@ericr23)

    Sorry! The options “show_option_none” and “show_option_all” do indeed specify the text! Which raises another question: What exactly is the difference between these two? (They both appear to have the same effect in the case in question.)

    • This reply was modified 4 years ago by ericr23. Reason: More info
Viewing 1 replies (of 1 total)
  • The topic ‘How to specify text displayed by wp_dropdown_categories’ is closed to new replies.