Created
March 1, 2016 17:34
-
-
Save jcallery/31af5747e5ead8894bd9 to your computer and use it in GitHub Desktop.
Display ACF field names
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Display ACF field names for development | |
*/ | |
function action_function_name( $field ) { | |
echo $field['_name']; | |
} | |
add_action( 'acf/render_field', 'action_function_name', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment