# name_run_action_user_template()

name_run_action_user_template()

This function handles the add-on's $_GET actions for the USER (public) pages. Each get action should have the function to be called defined. The Function must be named using this method: addon_name_description.

An example of a valid function:

<?php

function name_run_action_user_template() {

switch ($_GET['action']) {

case 'addon_name_showpage1':

$data = name_display_addon_page();

break;

default:

$data = '';

break;

}

return $data;

}

?>