PATH:
home
/
lab2454c
/
foreclass.com
/
wp-content
/
plugins
/
wpforms-lite
/
includes
<?php /** * Pre-configured packaged templates. * * @since 1.0.0 */ class WPForms_Templates { /** * Primary class constructor. * * @since 1.0.0 */ public function __construct() { $this->init(); } /** * Load and init the base form template class. * * @since 1.2.8 */ public function init() { // Parent class template require_once WPFORMS_PLUGIN_DIR . 'includes/templates/class-base.php'; // Load default templates on WP init add_action( 'init', array( $this, 'load' ) ); } /** * Load default form templates. * * @since 1.0.0 */ public function load() { $templates = apply_filters( 'wpforms_load_templates', array( 'blank', 'contact', 'request-quote', 'donation', 'order', 'subscribe', 'suggestion', ) ); foreach ( $templates as $template ) { $template = sanitize_file_name( $template ); if ( file_exists( WPFORMS_PLUGIN_DIR . 'includes/templates/class-' . $template . '.php' ) ) { require_once WPFORMS_PLUGIN_DIR . 'includes/templates/class-' . $template . '.php'; } elseif ( file_exists( WPFORMS_PLUGIN_DIR . 'pro/includes/templates/class-' . $template . '.php' ) && wpforms()->pro ) { require_once WPFORMS_PLUGIN_DIR . 'pro/includes/templates/class-' . $template . '.php'; } } } } new WPForms_Templates;
[+]
admin
[-] deprecated.php
[edit]
[+]
..
[-] class-widget.php
[edit]
[-] class-db.php
[edit]
[-] class-templates.php
[edit]
[-] class-conditional-logic-core.php
[edit]
[+]
providers
[+]
emails
[-] class-install.php
[edit]
[-] class-providers.php
[edit]
[-] class-smart-tags.php
[edit]
[-] class-form.php
[edit]
[+]
templates
[-] class-frontend.php
[edit]
[-] class-fields.php
[edit]
[-] integrations.php
[edit]
[-] functions.php
[edit]
[-] class-process.php
[edit]
[-] functions-list.php
[edit]
[+]
fields