🏡 index : ~doyle/koselig.git

author Jordan Doyle <jordan@doyle.wf> 2016-11-01 10:40:00.0 +00:00:00
committer Jordan Doyle <jordan@doyle.wf> 2016-11-01 10:40:00.0 +00:00:00
commit
8fe07d8cd59b87700d686c33f5841176c5500f5e [patch]
tree
5c9ad7a02684f174e054f90f34735522e89d1221
parent
bfda4a4e3f00ff11ef50db64ab21474da8775048
download
8fe07d8cd59b87700d686c33f5841176c5500f5e.tar.gz

can't use 'acf' because acf uses it...



Diff

 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);
    }