Created
June 29, 2017 18:30
-
-
Save dparker1005/a20dba310834af201dc5556f9eb043a3 to your computer and use it in GitHub Desktop.
Removes the word "now" from the cost text in Paid Memberships Pro
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
function pmpro_remove_now($cost) | |
{ | |
$cost = str_replace(" now", "", $cost); | |
return $cost; | |
} | |
add_filter("pmpro_level_cost_text", "pmpro_remove_now", 10, 4); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment