SILENT KILLERPanel

Current Path: > home > codekrsu > > escapematrixonline.com > wp-content > plugins > wpforms-lite > > includes


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//escapematrixonline.com/wp-content/plugins/wpforms-lite//includes

NameTypeSizeLast ModifiedActions
admin Directory - -
emails Directory - -
fields Directory - -
functions Directory - -
providers Directory - -
templates Directory - -
class-db.php File 23978 bytes February 27 2025 17:40:00.
class-fields.php File 1617 bytes February 27 2025 17:40:00.
class-form.php File 40725 bytes February 27 2025 17:40:00.
class-install.php File 5692 bytes December 03 2024 18:12:18.
class-process.php File 64512 bytes June 05 2025 16:54:44.
class-providers.php File 1889 bytes January 16 2025 17:57:18.
class-templates.php File 1294 bytes September 28 2023 15:44:58.
class-widget.php File 6148 bytes October 23 2024 18:03:24.
deprecated.php File 13932 bytes April 24 2025 14:53:30.
functions-list.php File 152 bytes February 16 2023 18:36:38.
functions.php File 1105 bytes June 17 2025 13:49:02.
integrations.php File 3009 bytes April 24 2025 14:53:30.

Reading File: /home/codekrsu//escapematrixonline.com/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();

SILENT KILLER Tool