GravityView  1.19.4
The best, easiest way to display Gravity Forms entries on your website.
class-gravityview-preset-business-listings.php
Go to the documentation of this file.
1 <?php
2 /**
3  * GravityView preset template
4  *
5  * @file class-gravityview-preset-business-listings.php
6  * @package GravityView
7  * @license GPL2+
8  * @author Katz Web Services, Inc.
9  * @link http://gravityview.co
10  * @copyright Copyright 2015, Katz Web Services, Inc.
11  *
12  * @since 1.15
13  */
14 
16 
17  function __construct() {
18 
19  $id = 'preset_business_listings';
20 
21  $settings = array(
22  'slug' => 'list',
23  'type' => 'preset',
24  'label' => __( 'Business Listings', 'gravityview' ),
25  'description' => __( 'Display business profiles.', 'gravityview' ),
26  'logo' => plugins_url( 'includes/presets/business-listings/logo-business-listings.png', GRAVITYVIEW_FILE ),
27  'preview' => 'http://demo.gravityview.co/blog/view/business-listings/',
28  'preset_form' => GRAVITYVIEW_DIR . 'includes/presets/business-listings/form-business-listings.xml',
29  'preset_fields' => GRAVITYVIEW_DIR . 'includes/presets/business-listings/fields-business-listings.xml'
30  );
31 
32  parent::__construct( $id, $settings );
33 
34  }
35 }
36 
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory
Definition: gravityview.php:35
GravityView_Default_Template_List class.
const GRAVITYVIEW_FILE(!defined( 'ABSPATH'))
Plugin Name: GravityView Plugin URI: https://gravityview.co Description: The best, easiest way to display Gravity Forms entries on your website.
Definition: gravityview.php:26