• hi Scott,

    this plugin is really useful as it is. However, I need to be able to assign various users as subscribers without going through the entire paypal process, for testing purposes. Is there a fairly simple way to do this, via a hook maybe, or something like that?

    Thanks in advance for any helpful suggestions.

    R.

Viewing 1 replies (of 1 total)
  • Thread Starter Richard Foley

    (@richardfoley)

    Ah, I think I see a possible workaround. You appear to be using the “upload_files” permission as the deciding factor for “subscriber or not”.

    How about using a dedicated capability for this decision, such as “wpeppsub_subscription”. This way it would be possible to assign this capability to an internal “testing” role, with no further changes to the code.

    Alternatively an *easily* hookable function would also be a useful way to make this decision, (without having to remove it first, etc).

    Thoughts welcome?

    • This reply was modified 6 years, 11 months ago by Richard Foley.
Viewing 1 replies (of 1 total)
  • The topic ‘Manually set account as subscriber’ is closed to new replies.