Function __global->_enforce_declarations

Definitions

sources/users_active_actions.php

  • Actualiser for enforcing the member agreed to the latest declarations. Will redirect_exit if the member needs to re-accept declarations.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$member_id MEMBER No No required parameter N/A N/A The current member

Preview

Code (PHP)

/**
 * Actualiser for enforcing the member agreed to the latest declarations. Will redirect_exit if the member needs to re-accept declarations.
 *
 * @param  MEMBER $member_id The current member
 */

function _enforce_declarations(int $member_id)