Skip to content

Instantly share code, notes, and snippets.

@andrewlimaza
Last active January 23, 2023 13:47
Show Gist options
  • Save andrewlimaza/147e5f021d744b474ada76305e062d8f to your computer and use it in GitHub Desktop.
Save andrewlimaza/147e5f021d744b474ada76305e062d8f to your computer and use it in GitHub Desktop.
Change when to show the renewal link on Paid Memberships Pro account page.
@andrewlimaza
Copy link
Author

If you want to always show the renewal link, use this line of code instead of this entire function:

add_filter( 'pmpro_is_level_expiring_soon', '__return_true' );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment