HEX
Server: Apache/2
System: Linux sv156.hostsevenplus.com 4.18.0-553.126.1.el8_10.x86_64 #1 SMP Thu May 28 06:44:09 EDT 2026 x86_64
User: npaaenew (1145)
PHP: 8.5.0
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/npaaenew/public_html/wp-content/plugins/formlayer-pro/main/fields.php
<?php
/*
* FormLayer Pro
* https://formlayer.net
* (c) FormLayer Team
*/

namespace FormLayerPro;

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

class Fields{

	static function add_categories($categories){
		$categories[] = ['id' => 'pro', 'label' => __('Premium Fields', 'formlayer-pro'), 'open' => false];
		return $categories;
	}

	static function add_field_types($field_types){
		$pro_fields = [
			['type' => 'address', 'label' => 'Address Fields', 'icon' => 'dashicons-location', 'category' => 'pro'],
			['type' => 'date', 'label' => 'Date / Time Picker', 'icon' => 'dashicons-calendar-alt', 'category' => 'pro'],
			['type' => 'url', 'label' => 'Website / URL', 'icon' => 'dashicons-admin-site', 'category' => 'pro'],
			['type' => 'password', 'label' => 'Password', 'icon' => 'dashicons-lock', 'category' => 'pro'],
			['type' => 'hidden', 'label' => 'Hidden Field', 'icon' => 'dashicons-visibility-faint', 'category' => 'pro'],
			['type' => 'image', 'label' => 'Image Upload', 'icon' => 'dashicons-format-image', 'category' => 'pro'],
			['type' => 'file', 'label' => 'File Upload', 'icon' => 'dashicons-upload', 'category' => 'pro'],
			['type' => 'phone', 'label' => 'Phone Number', 'icon' => 'dashicons-phone', 'category' => 'pro'],
			['type' => 'camera', 'label' => 'Camera Field', 'icon' => 'dashicons-camera', 'category' => 'pro'],
			['type' => 'richtext', 'label' => 'Rich Text Editor', 'icon' => 'dashicons-editor-paragraph', 'category' => 'pro'],
		];

		return array_merge($field_types, $pro_fields);
	}

}