add_hook('authenticate', array($this, 'authenticate')); } function authenticate($args) { $args['valid'] = true; return $args; } }