Skip to content

Instantly share code, notes, and snippets.

@ideadude
Created March 4, 2020 12:21
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 ideadude/c5c489407d626f4c0bba7898ae1a89b9 to your computer and use it in GitHub Desktop.
Save ideadude/c5c489407d626f4c0bba7898ae1a89b9 to your computer and use it in GitHub Desktop.
Enable Paid Memberships Pro's getfile script to lock down files.
define('PMPRO_GETFILE_ENABLED', true);
@ideadude
Copy link
Author

ideadude commented Mar 4, 2020

@laurenhagan0306
Copy link

This recipe is included in the blog post on "Locking Down (Protecting) Files with PMPro" at Paid Memberships Pro here: https://www.paidmembershipspro.com/locking-down-protecting-files-with-pmpro/

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