Skip to content

Instantly share code, notes, and snippets.

@fxbenard
Last active December 25, 2015 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fxbenard/7007385 to your computer and use it in GitHub Desktop.
Save fxbenard/7007385 to your computer and use it in GitHub Desktop.
With and without WP function sprintf
sprintf( __( 'If you like my plugin, please <a href="%s">give it a good rating and leave a review</a>.','yourtextdomain'),
esc_url( 'http://wordpress.org/support/view/plugin-reviews/myplugin" target="blank' ) ) )
__( 'If you like my plugin, please <a target="_blank" href="http://wordpress.org/support/view/plugin-reviews/myplugin">give it a good rating and leave a review</a>.' )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment