Title: Advanced Custom Fields compatability
Last modified: August 31, 2016

---

# Advanced Custom Fields compatability

 *  Resolved [lelandrb](https://wordpress.org/support/users/lelandrb/)
 * (@lelandrb)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/advanced-custom-fields-compatability/)
 * All Advanced Custom Fields uTag displays are pretty pointless in their current
   state. Look like so:
 *     ```
       "book_now_system": [
       	"field_562c493397c4e"
       ]
       ```
   
 * All of the ACF-generated fields show this. Pretty big pain since I don’t know
   of an easy way to de-register the 100+ fields used across the site in one fell
   swoop.
 * [https://wordpress.org/plugins/tealium/](https://wordpress.org/plugins/tealium/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tealium](https://wordpress.org/support/users/tealium/)
 * (@tealium)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/advanced-custom-fields-compatability/#post-7175664)
 * Hi,
 * It looks like ACF is maybe using the standard WordPress meta data concept to 
   just store a reference to the data for each custom field, rather than the actual
   data.
 * ACF has an export feature, so you might be able to manipulate the output of that
   into a list of field names in a comma separated list to add to the data layer
   exclusions option in the Tealium plugin settings.
 * If you run something like this, pasting in the code from an ACF PHP export in
   a script outside of WordPress that should hopefully do the trick:
 *     ```
       <?php
       $names = array();
   
       function register_field_group($groups) {
       	global $names;
       	foreach ($groups['fields'] as &$value) {
           	if (!empty($value['name'])) {
           		 $names[] = $value['name'];
           	}
       	}
       }
   
       /* -- PASTE IN OUTPUT FROM ACF PHP EXPORT --
       e.g...
       if(function_exists("register_field_group"))
       {
       	register_field_group(array (
       	));
       }
       */
   
       echo implode(', ', $names);
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Advanced Custom Fields compatability’ is closed to new replies.

 * ![](https://ps.w.org/tealium/assets/icon-256x256.png?rev=1203811)
 * [Tealium](https://wordpress.org/plugins/tealium/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tealium/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tealium/)
 * [Active Topics](https://wordpress.org/support/plugin/tealium/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tealium/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tealium/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tealium](https://wordpress.org/support/users/tealium/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/advanced-custom-fields-compatability/#post-7175664)
 * Status: resolved