Wordpress related question about printf
Posted
by
Denny Mueller
on Pro Webmasters
See other posts from Pro Webmasters
or by Denny Mueller
Published on 2012-07-02T14:56:39Z
Indexed on
2012/07/02
15:24 UTC
Read the original article
Hit count: 290
Today i work through a theme to get a better understanding of wordpress and templating. I discovered this
<?php printf( __('Designed by %s', 'Anyword'), '<a href="http://www.blub.tld" target="_blank">Blub</a>', '' ); ?>
I know it shows "Designed by Blub" (Where Blub is linked) But what does the __ mean or why is there a string insert? What for is the Anyword?
Can someone exactly explain this line for me?
thanks in advance best regards
© Pro Webmasters or respective owner