Possible to change a string embedded in an sprintf statement?
-
Here’s the string I’d like to translate:
$r = sprintf(_x('The price for membership is <strong>%s</strong> now', 'Initial payment in cost text generation.', 'pmpro'), $pmpro_currency_symbol . number_format($level->initial_payment, 2));
Possible? If so, how? I’ve already tried entering the first part of the statement (The price for membership is %s now) which doesn’t work.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Possible to change a string embedded in an sprintf statement?’ is closed to new replies.