syntactical rules

rules for functions starting with “get” keyword

all wordpress functions which starts with ‘get’ keyword should be followed by ‘echo’

echo get_post_meta(get_the_ID(), 'fav-item', true);

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *