bloginfo inside printf statement!
-
Hi
I want use bloginfo function inside a printf statement. Here is my code:printf ('<li><a href="'.bloginfo('url').'"files%s"</a></li>', $np->meta_value);The output:
http://localhost/wp<li><a href="filetest.zip"</a></li> </ul>Is there any alternative for bloginfo that could be used inside a printf statement?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘bloginfo inside printf statement!’ is closed to new replies.