tags:

views:

7

answers:

1

I'm looking to return a template url rather than print it and bloginfo('template_url'); prints... anyone know of a version of this function I can use inside of a string I'm building to print at a later point?

Example

    $html = '<td style="width:40px;"><img src="';
    $html .= bloginfo('template_url'); // <-- messes up string because it prints.
    $html .= '/images/pause.png"></td>';
    return $html;