Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ben Huson

    (@husobj)

    I have added this to the issues list as possible functionality to add in a future version.

    Thread Starter amoldejong

    (@amoldejong)

    Hi there,

    Is there any way i can adjust your plugin so it automatically sets an expire date for newly registered users?

    I can still find no other solution (plugins) to get this working…

    regards

    Plugin Author Ben Huson

    (@husobj)

    If you have a level of PHP knowledge and the WordPress API you may be able to do this. The main functionality you would need is in the class-expire-user.php file:

    http://plugins.svn.wordpress.org/expire-users/trunk/includes/class-expire-user.php

    Basically you’ll need to use the appropriate WordPress API to hook into when a user is created, then create a new Expire_User(), set the appropriate settings using the functions in the Expire_User class, then call Expire_User->save_user() to save those settings.

    It is something I plan to add to the plugin at some point but I cannot contribute any free time to it at the moment.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Expire Users] Automatic expiration’ is closed to new replies.