Skip to content

Hooks

CiviVolunteer provides the following hooks.

hook_civicrm_volunteer_projectDefaultSettings

This hook is invoked when retrieving the default values for a volunteer project.

Definition:

hook_civicrm_volunteer_projectDefaultSettings(array &$defaults)

Parameters:

  • array $defaults - Reference to the array of default values.

Returns:

  • NULL - The return value is ignored.

Example:

TODO