Function : trigger_events()

Description : trigger each functions registered with bind_event function. Accepts as parameters a string which is representative of the hook namespace, and an Array of parameter which will be passed to each binded functions.

Parameter :
String : hook namespace
Array : array of parameters which will be passed to functions.

Example :

<?php
// ...
trigger_events( 'user_registration' , array(
  'user_name'			=>	$user_name,
  'user_email'		=>	$user_email,
  'user_password'	=>	$user_password
) );