跳到内容

ACF Dynamic Choices

v.5

grexican · 2014年7月16日 上架

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

正在使用
10+
评分
5.0 / 5
累计下载
5,632
最近更新
2014年7月16日
1 条评价需要 WordPress 3.0.1+已测试到 3.9.40

贡献者

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

Arbitrary section

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums