<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Loading Select Option Programmatically

[ad_1]

Replies: 2

I was about to purchase the premium version of your plugin but I want to make sure this can be done:

I would like to have a select field that shows a dropdown of schools. These schools are being fed in from a custom post type as there constantly new schools being added and there are hundreds of them.

Instead of manually entering each school and trying to keep it up to date, is there a filter I can hook into (by e.g. using add_filter) which allows me to load custom options?

While not a must, it would be even cooler if there would be a dropdown feature like select2 with search and possible ajax support.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer