How to create a custom external hook
Page viewable without login code example:
public static function link_public($job_id){
return full_link(_EXTERNAL_TUNNEL_REWRITE.'m.job/h.public/i.'.$job_id);
}
public static function link_public_custom($job_id){
return full_link(_EXTERNAL_TUNNEL_REWRITE.'m.job/h.custom/i.'.$job_id);
}
public function external_hook($hook){
switch($hook){
case 'public':
// display "public" hook html content here.
break;
case 'custom':
// display "custom" hook html content here.
break;
}
}