Is there a way to set a users Blocked After
date automatically through a plugin on save?
So I want to create or update a user and set the date when it’s set to active (Blocked Until
) and then after saving the user, it should automatically fill in the Blocked After
date set to say 30 days after the activation date. Ideally I would like to fetch a number in the users comments field and use that as number of days which should be added, but I would like to know first if something like this is possible in general.
I’m also aware that it’s not too difficult to add those dates by hand but I would like to reduce the work during user creation and updating as much as possible.