From 8fe07d8cd59b87700d686c33f5841176c5500f5e Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Tue, 1 Nov 2016 10:40:00 +0000 Subject: [PATCH] can't use 'acf' because acf uses it... --- src/helpers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers.php b/src/helpers.php index d190228..43840a3 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -44,7 +44,7 @@ if (!function_exists('meta')) { } } -if (!function_exists('acf')) { +if (!function_exists('field')) { /** * Grab an ACF field from the database for the current page. * @@ -54,7 +54,7 @@ if (!function_exists('acf')) { * * @return mixed */ - function acf($name = null) + function field($name = null) { return Meta::acf($name); } -- libgit2 1.7.2