🏡 index : ~doyle/koselig.git

author Jordan Doyle <jordan@doyle.wf> 2016-11-01 10:31:53.0 +00:00:00
committer Jordan Doyle <jordan@doyle.wf> 2016-11-01 10:31:53.0 +00:00:00
commit
bfda4a4e3f00ff11ef50db64ab21474da8775048 [patch]
tree
38bac41e7a05483f034470a39b59d7dcad8da3f3
parent
fd4f37f36010033ed5e2e10006e2c10b2c111269
parent
c7af8895d6e7123012e9d336b26d77b8da39fff4
download
bfda4a4e3f00ff11ef50db64ab21474da8775048.tar.gz

Merge branch 'master' of https://github.com/koselig/library



Diff

 src/helpers.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/helpers.php b/src/helpers.php
index f51492f..d190228 100644
--- a/src/helpers.php
+++ b/src/helpers.php
@@ -1,4 +1,5 @@
<?php

use Koselig\Models\Meta;
use Koselig\Models\Post;

@@ -31,9 +32,10 @@ if (!function_exists('post')) {

if (!function_exists('meta')) {
    /**
     * Grab a meta item from the database for the current page
     * Grab a meta item from the database for the current page.
     *
     * @param string|null $name name of the field to get (or null for all)
     *
     * @return mixed
     */
    function meta($name = null)
@@ -49,6 +51,7 @@ if (!function_exists('acf')) {
     * @see Meta::acf()
     *
     * @param string|null $name name of the field to get (or null for all)
     *
     * @return mixed
     */
    function acf($name = null)