Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.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
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/anfangola.com/wp-content/plugins/wpforms-lite/src/Admin/Education/Builder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/claqxcrl/anfangola.com/wp-content/plugins/wpforms-lite/src/Admin/Education/Builder/Fields.php
<?php

namespace WPForms\Admin\Education\Builder;

use \WPForms\Admin\Education\AddonsItemBase;

/**
 * Base class for Builder/Fields Education feature.
 *
 * @since 1.6.6
 */
abstract class Fields extends AddonsItemBase {

	/**
	 * Instance of the Education\Fields class.
	 *
	 * @since 1.6.6
	 *
	 * @var \WPForms\Admin\Education\Fields
	 */
	protected $fields;

	/**
	 * Indicate if current Education feature is allowed to load.
	 *
	 * @since 1.6.6
	 *
	 * @return bool
	 */
	public function allow_load() {

		return wp_doing_ajax() || wpforms_is_admin_page( 'builder' );
	}

	/**
	 * Init.
	 *
	 * @since 1.6.6
	 */
	public function init() {

		parent::init();

		// Store the instance of the Education\Fields class.
		$this->fields = wpforms()->get( 'education_fields' );
	}
}

ZeroDay Forums Mini