• Hi @gioni,

    I’m back on this thread because I still have a little issue using my script.
    It is working well when used manually by the site admin (action hook), but when I need to use my script through a server’s cronjob (which is not wp-cron), the cerber_block_user function fails because of the first check :

    	if ( ! is_super_admin() ) {
    		return;
    	}

    Is it possible for you to move that check to a different level that would not block using this function from outside please ?

    The page I need help with: [log in to see the link]

The topic ‘Block user with a script (2)’ is closed to new replies.