Pl
wordpress plugins

ACF Dynamic Choices

Advanced Custom Fields plugin to allow for dynamic choices (through SQL queries)

plugin ACF Dynamic Choices
5 out of 5 based on 1 user ratings.

Description

Version: 0.5

If you've ever needed your ACF choices to be dynamically generated by a SQL query, this plugin will help you get the job done.

You can mix and match static choices with dynamic, SQL-based choices by placing as many regular choices in the list as you'd like, followed by the special %%QUERY%% choice that will tell this plugin to load choices dynamically from the database.

An example on how to list users, setting the id as the value, would look like this:%%QUERY%% : SELECT user_nicename AS text, id AS value FROM wp_users

Tags: acf, dynamic, query, sql

Tags

Requirements

Requires: 3.0.1 or higher
Compatible up to: 3.9.13
Last Updated: 2 years ago
Active Installs: 40+

Download URL

https://downloads.wordpress.org/plugin/acf-dynamic-choices.zip