X7ROOT File Manager
Current Path:
/home/notabjze/hourglass.life/wp-content/plugins/wpforms-lite/includes
home
/
notabjze
/
hourglass.life
/
wp-content
/
plugins
/
wpforms-lite
/
includes
/
ðŸ“
..
ðŸ“
admin
📄
class-db.php
(23.42 KB)
📄
class-fields.php
(1.58 KB)
📄
class-form.php
(39.77 KB)
📄
class-install.php
(5.56 KB)
📄
class-process.php
(63 KB)
📄
class-providers.php
(1.84 KB)
📄
class-templates.php
(1.26 KB)
📄
class-widget.php
(6 KB)
📄
deprecated.php
(13.61 KB)
ðŸ“
emails
ðŸ“
fields
ðŸ“
functions
📄
functions-list.php
(152 B)
📄
functions.php
(1.03 KB)
📄
integrations.php
(2.94 KB)
ðŸ“
providers
ðŸ“
templates
Editing: 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;
Upload File
Create Folder