vena/acf-json
Composer 安装命令:
composer require vena/acf-json
包简介
Force ACF to store and load json for specific groups inside a plugin or theme.
关键字:
README 文档
README
Force ACF to store and load json for specific groups in a specific place, useful for plugins and themes which define their own ACF groups.
Installing
composer require vena/acf-json
Using
Assuming you're using composer's autoload, setup is simple.
$acfJson = new \vena\AcfJson\Loader( [ // Group IDs to store and load 'group_61240bc1afe31', 'group_612524d9ef624', ], // Path under which to create acf-json folder // and store ACF's json for the groups __DIR__ );
统计信息
- 总下载量: 48
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-24