Last active
December 25, 2015 16:39
-
-
Save fxbenard/7007385 to your computer and use it in GitHub Desktop.
With and without WP function sprintf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' ) ) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__( '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