GRAYBYTE WORDPRESS FILE MANAGER6141

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/wpforms-lite/includes/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/wpforms-lite/includes//class-fields.php
<?php

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

/**
 * Load the field types.
 *
 * @since 1.0.0
 */
class WPForms_Fields {

	/**
	 * Primary class constructor.
	 *
	 * @since 1.0.0
	 */
	public function __construct() {

		$this->init();
	}

	/**
	 * Initialize hooks.
	 *
	 * @since 1.2.8
	 * @since 1.8.2 Moved base class loading to \WPForms\WPForms::includes.
	 */
	public function init() {

		$this->hooks();
	}

	/**
	 * Hooks.
	 *
	 * @since 1.7.7
	 */
	private function hooks() {

		// Load default fields on WP init.
		add_action( 'init', [ $this, 'load' ] );
	}

	/**
	 * Load default field types.
	 *
	 * @since 1.0.0
	 * @since 1.9.4 Removed Pro fields from the list. They loaded in the main Loader class.
	 */
	public function load() {

		$fields = [
			'text',
			'textarea',
			'select',
			'radio',
			'checkbox',
			'email',
			'name',
			'number',
			'number-slider',
			'internal-information',
		];

		// Include GDPR Checkbox field if GDPR enhancements are enabled.
		if ( wpforms_setting( 'gdpr' ) ) {
			$fields[] = 'gdpr-checkbox';
		}

		/**
		 * Filters array of fields to be loaded.
		 *
		 * @since 1.0.0
		 *
		 * @param array $fields Field types.
		 */
		$fields = (array) apply_filters( // phpcs:ignore WPForms.PHP.ValidateHooks.InvalidHookName
			'wpforms_load_fields',
			$fields
		);

		foreach ( $fields as $field ) {

			$file = WPFORMS_PLUGIN_DIR . 'includes/fields/class-' . $field . '.php';

			if ( file_exists( $file ) ) {
				require_once $file;
			}
		}

		// We have to put it here due to tests for restricted emails.
		new WPForms_Field_Email();
	}
}

new WPForms_Fields();

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
admin
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
emails
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
fields
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
functions
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
providers
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
templates
--
July 10 2025 04:32:21
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:21
inteuuod / inteuuod
0644
class-db.php
23.416 KB
February 27 2025 17:40:00
inteuuod / inteuuod
0644
class-fields.php
1.579 KB
February 27 2025 17:40:00
inteuuod / inteuuod
0644
class-form.php
39.771 KB
February 27 2025 17:40:00
inteuuod / inteuuod
0644
class-install.php
5.559 KB
December 03 2024 18:12:18
inteuuod / inteuuod
0644
class-process.php
63 KB
June 05 2025 16:54:44
inteuuod / inteuuod
0644
class-providers.php
1.845 KB
January 16 2025 17:57:18
inteuuod / inteuuod
0644
class-templates.php
1.264 KB
September 28 2023 15:44:58
inteuuod / inteuuod
0644
class-widget.php
6.004 KB
October 23 2024 18:03:24
inteuuod / inteuuod
0644
deprecated.php
13.605 KB
April 24 2025 14:53:30
inteuuod / inteuuod
0644
functions-list.php
0.148 KB
February 16 2023 18:36:38
inteuuod / inteuuod
0644
functions.php
1.079 KB
June 17 2025 13:49:02
inteuuod / inteuuod
0644
integrations.php
2.938 KB
April 24 2025 14:53:30
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF