$66 GRAYBYTE WORDPRESS FILE MANAGER $31

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/home/bqrcodec/contact.rohto.com.vn/wp-content/plugins/wpforms-lite/includes/

HOME
Current File : /home/bqrcodec/contact.rohto.com.vn/wp-content/plugins/wpforms-lite/includes//class-templates.php
<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * 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', [ $this, 'load' ] );
	}

	/**
	 * Load default form templates.
	 *
	 * @since 1.0.0
	 */
	public function load() {

		$templates = apply_filters(
			'wpforms_load_templates',
			[
				'blank',
				'simple-contact-form',
			]
		);

		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()->is_pro() ) {
				require_once WPFORMS_PLUGIN_DIR . 'pro/includes/templates/class-' . $template . '.php';
			}
		}
	}
}

new WPForms_Templates;

Current_dir [ WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
admin
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
emails
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
fields
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
functions
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
providers
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
templates
--
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0755
class-db.php
12.716 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
class-fields.php
1.923 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
class-form.php
26.295 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
class-install.php
4.695 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
class-process.php
49.227 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
class-providers.php
1.163 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
class-templates.php
1.264 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
class-widget.php
5.408 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
compat.php
2.173 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
deprecated.php
11.889 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
functions-list.php
0.148 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
functions.php
1.078 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644
integrations.php
2.922 KB
6 Mar 2024 12.54 PM
bqrcodec / bqrcodec
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF