Exemplo n.º 1
0
 public static function contact_builder_page()
 {
     self::$args['forms'] = tt_get_forms();
     self::$TTL->view('admin-contact-builder', self::$args);
     //Loading Contact Form Builder View
 }
Exemplo n.º 2
0
function tt_form_location($location)
{
    $forms = tt_get_forms();
    if (!empty($forms)) {
        foreach ($forms as $form) {
            if ($form['location'] === $location) {
                tt_form($form['id']);
            }
        }
    } else {
        return FALSE;
    }
}