Skip to content

Instantly share code, notes, and snippets.

@dparker1005
Created June 29, 2017 18:30
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 dparker1005/a20dba310834af201dc5556f9eb043a3 to your computer and use it in GitHub Desktop.
Save dparker1005/a20dba310834af201dc5556f9eb043a3 to your computer and use it in GitHub Desktop.
Removes the word "now" from the cost text in Paid Memberships Pro
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