Title: ACF PHP VARS
Author: samjco
Published: <strong>March 24, 2016</strong>
Last modified: October 4, 2018

---

Search plugins

![](https://ps.w.org/acf-php-vars/assets/banner-772x250.jpg?rev=1377561)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/acf-php-vars/assets/icon-128x128.png?rev=1951215)

# ACF PHP VARS

 By [samjco](https://profiles.wordpress.org/samjco/)

[Download](https://downloads.wordpress.org/plugin/acf-php-vars.zip)

 * [Details](https://wordpress.org/plugins/acf-php-vars/#description)
 * [Reviews](https://wordpress.org/plugins/acf-php-vars/#reviews)
 *  [Installation](https://wordpress.org/plugins/acf-php-vars/#installation)
 * [Development](https://wordpress.org/plugins/acf-php-vars/#developers)

 [Support](https://wordpress.org/support/plugin/acf-php-vars/)

## Description

Finally being able to copy all ACF field variables is here!!!

**Supports ACF PRO!**

This plugin was build for the awesomeness of the [Advanced Custom Fields](https://wordpress.org/plugins/advanced-custom-fields/)
plugin created by Elliot Condon, so that referencing custom fields is fast and makes
life easier for developers.

You are now able to get a complete list of fields that you’ve created, make adjustments
with the available options, and simply copy-and-paste them right into your theme
template. No more switching back-and-forth screens in order to copy-and-paste field
names into your file. whew!

### Features

 * Easily switch from field names to field IDs.
 * Easily choose between the_field() or get_field() functions to use.
 * Show all fields-group with fields OR just the fields created within the current
   field group section.
 * Show Example field code and decriptions.
 * Works great with ACF PRO

I hope you enjoy this plugin and if it works for you, please add your rating. Your
donations to (https://PayPal.Me/samjco) will help to make this plugin better!

[Demo video:

](https://screencast.com/t/pS9dukeU/

Demo Video | Screencast

“)

_Special thanks to the ACF display plugin._

## Installation

 1. Upload `acf-php-vars.php` to the `/wp-content/plugins/` directory, or install it
    via the WP Plugin repository
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. A new button will show up in the menu of the dashboard called ACF PHP VARS as well
    as shown under Custom Fields menu. If you don’t have the ACF plugin activated, 
    the button will not show up.

## FAQ

  Why isn’t my button showing up?

Make sure sure you have ACF installed and activated.

  I can see the button, but why can’t I see all my fields?

If this is the case with you, make sure you have custom fields created.

  Will this plugin work with ACF PRO

Yes.

## Reviews

![](https://secure.gravatar.com/avatar/3de7f650d26e8c34e31f34ac5a472da6c8baf004803457b8ac0c50d4626889ad?
s=60&d=retro&r=g)

### 󠀁[Does exactly what it needed!](https://wordpress.org/support/topic/does-exactly-what-it-needed/)󠁿

 [Dave3o3](https://profiles.wordpress.org/dave3o3/) September 3, 2016

Great plugin! Works as intended! But I found some issues. Please see the support
forum. Thanks!

![](https://secure.gravatar.com/avatar/3f620d7e5627cf552b3edc88e4f9221944a5c65d21375e27ee1c3240cce5f1d4?
s=60&d=retro&r=g)

### 󠀁[Code Faster!](https://wordpress.org/support/topic/code-faster/)󠁿

 [samjco](https://profiles.wordpress.org/samjco/) September 3, 2016

Coding faster was the goal of the plugin.

![](https://secure.gravatar.com/avatar/995c581787654318e68f997a4fa8392a6770a99104e5e04c8009a5b8103fca6c?
s=60&d=retro&r=g)

### 󠀁[Doing my Dev process faster](https://wordpress.org/support/topic/doing-my-dev-process-faster/)󠁿

 [sera2007](https://profiles.wordpress.org/sera2007/) September 3, 2016

Thx for great plugin

![](https://secure.gravatar.com/avatar/17510dedc657b7a26446b0aa326305442f4bfe822de3ca0ca34c6cf96c1e621d?
s=60&d=retro&r=g)

### 󠀁[Just what I needed!](https://wordpress.org/support/topic/just-what-i-needed-455/)󠁿

 [jirrodglynn](https://profiles.wordpress.org/jirrodglynn/) September 3, 2016

Oh wow, this is going to save me a lot of time with writing out all of those variables!

![](https://secure.gravatar.com/avatar/34772099670951518600a39db9a9f92ba1fbb6391901d8c483ff266d0bfdc610?
s=60&d=retro&r=g)

### 󠀁[Pro version ACF](https://wordpress.org/support/topic/pro-version-116/)󠁿

 [ptrv](https://profiles.wordpress.org/ptrv/) September 3, 2016 6 replies

Nice!

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/acf-php-vars/reviews/)

## Contributors & Developers

“ACF PHP VARS” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ samjco ](https://profiles.wordpress.org/samjco/)

[Translate “ACF PHP VARS” into your language.](https://translate.wordpress.org/projects/wp-plugins/acf-php-vars)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/acf-php-vars/), check
out the [SVN repository](https://plugins.svn.wordpress.org/acf-php-vars/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/acf-php-vars/) by
[RSS](https://plugins.trac.wordpress.org/log/acf-php-vars/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3

 * Moved ACF Theme PHP menu under Custom Fields menu.
 * Added better readability.
 * Added Support for the latest ACF PRO version
 * Added Support to use if using ACF/ACF PRO within a custom plugin.
 * Added WPDB Table prefixing
 * Fixed various issues.

#### 1.2

 * Added additional ACF PHP VARS menu under Custom Fields menu.
 * Added a Quick View box on Field group page so that user can get vars while making
   them.

#### 1.1

 * Added support for ACF PRO!
 * Added notification when ACF or ACF PRO isn’t installed.
 * Added Copy all and copy group buttons for ease of copy and pasting.
 * Fix issue with current plugin dir not referencing correctly.
 * Added 128×128 Icon to assets.

#### 1.0

 * Currently, this is the first version of this plugin and no changes have been 
   made.

## Meta

 *  Version **1.3**
 *  Last updated **8 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0.1 or higher **
 *  Tested up to **4.9.29**
 * Tags
 * [acf](https://wordpress.org/plugins/tags/acf/)[advanced custom fields](https://wordpress.org/plugins/tags/advanced-custom-fields/)
   [php](https://wordpress.org/plugins/tags/php/)[template](https://wordpress.org/plugins/tags/template/)
   [theme](https://wordpress.org/plugins/tags/theme/)
 *  [Advanced View](https://wordpress.org/plugins/acf-php-vars/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/acf-php-vars/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/acf-php-vars/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/acf-php-vars/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/acf-php-vars/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/acf-php-vars/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/acf-php-vars/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/acf-php-vars/reviews/)

## Contributors

 *   [ samjco ](https://profiles.wordpress.org/samjco/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/acf-php-vars/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://PayPal.Me/samjco)