PHPackages                             timothyjensen/acf-field-group-values - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. timothyjensen/acf-field-group-values

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

timothyjensen/acf-field-group-values
====================================

Retrieve all post meta and option values for the specified ACF field group

3.4.0(3y ago)486.4k6GPL-3.0+PHPPHP ^7.3 || ^8.0

Since Nov 6Pushed 3y ago6 watchersCompare

[ Source](https://github.com/timothyjensen/acf-field-group-values)[ Packagist](https://packagist.org/packages/timothyjensen/acf-field-group-values)[ RSS](/packages/timothyjensen-acf-field-group-values/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (3)Versions (19)Used By (0)

[![PHP Version](https://camo.githubusercontent.com/34bcca9a70e5c68bb8f73aad4fb36b0403331e34924be788542475681539d12d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d372e332532422d626c75652e737667)](https://packagist.org/packages/timothyjensen/acf-field-group-values)

ACF Field Group Values
======================

[](#acf-field-group-values)

This component provides a convenient alternative to ACF's `get_field()` function. It can be installed as a WordPress plugin, or required as a dependency (preferred) within your theme or plugin.

Requirements
------------

[](#requirements)

- PHP 7.3+

Installation
------------

[](#installation)

The recommended way to install this component is with Composer:

```
composer require timothyjensen/acf-field-group-values

```

Alternatively, you can download the latest release and install it like a typical WordPress plugin.

Usage
-----

[](#usage)

As of version 2.0.0 the `$config` argument must contain all data from the acf field group export. This is a breaking change. Also, you should now pass `$config` instead of `$config['fields']`. This is especially important when working with clone fields.

1. [Configure ACF](https://www.advancedcustomfields.com/resources/local-json/) to save field group JSON files within your theme or plugin. Next, convert the ACF field group JSON to an array that will be passed to the helper function `get_all_custom_field_meta()`:

    ```
