HEX
Server: Apache
System: Linux nc-ph-4101.simplemoneygoals.com 5.14.0-503.21.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jan 12 09:45:05 EST 2025 x86_64
User: dailygoldindex (1004)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: /home/dailygoldindex/www/wp-content/plugins/jnews-essential/lib/vp/views/control/wpeditor.php
<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_head', $head_info); ?>

<?php
	// prepare value for tinyMCE editor
	$value = html_entity_decode( $value, ENT_COMPAT, 'UTF-8' );

	if ( has_filter( 'the_editor_content' ) ) 
	{
		$value = apply_filters( 'the_editor_content', $value );
	}

	$editor_settings = array(
		'wpautop' 			=> true,
		'media_buttons'		=> true,
		'textarea_name' 	=> $name,
		'textarea_rows'    	=> 10,
		'quicktags'		   	=> true,
		'drag_drop_upload' 	=> true,
        'teeny' 			=> true,
	);

	/**
	* Remove [, ], {, } (brackets), - (hypen) from Editor ID
	* @since 3.9
	* TinyMCE editor IDs cannot have brackets.
	*/

	$id = str_replace( array("[","]","-","{","}"), "", $name );
	$id = $id.'_ce' ;

	wp_editor( $value, $id, $editor_settings );
?>

<?php if(!$is_compact) echo VP_View::instance()->load('control/template_control_foot', $head_info); ?>