System is creating an EOT for all new users correctly - great.
When their EOT passes, the admin panel in WP shows the user’s Registration time, EOT and last login accurately - great.
But when a user passes their EOT, they remain at Level 1 rather than being demoted to Level 0.
Our EOT behavior is set to:
- “Yes enable the Auto-EOT system through WP-Cron”
- “Demote - convert them to a free subscriber”
- “Grace period of 20000 seconds”
When checking our enabled logging, I see in the auto-eot-system.log shows the last entry was in Feb 2017!?
Why wouldn’t the auto-eot-system.log be logging new members here?
The reg-handler-api.log does show new users though.
If I create this file and directory: wp-content/mu-plugins/s2-eot-role.php:
Using this rule, will this work?
<?php
add_filter('ws_plugin__s2member_force_demotion_role', function(){ return 's2member_level0'; });