Tuesday 21 May 2013

Difference between bloginfo() and get_bloginfo()

Difference between get_bloginfo('template_url') and bloginfo('template_url')


1. <?php bloginfo('template_url'); ?>
2. <?php echo get_bloginfo('template_url'); ?>

echo is the only difference from both the function. 

2 comments: