• Hi,

    Within a wordpress page (that is using a default template), I have a select/drop-down field that, when the user selects an item, I would like to somehow have it trigger a do_action call, right at this point, but unsure how to do this/approach?

    Any help would be great.

    Thanks.

Viewing 1 replies (of 1 total)
  • You can’t call any PHP directly form your page once it’s been served up to the user. To do what you’re looking for you need to look at using AJAX.

Viewing 1 replies (of 1 total)
  • The topic ‘How to make a call to a DO_ACTION on Select List Change’ is closed to new replies.