HEX
Server: Apache
System: Linux od-b43f49 4.9.0-0.bpo.12-amd64 #1 SMP Debian 4.9.210-1+deb9u1~deb8u1 (2020-06-09) x86_64
User: uid181852 (181852)
PHP: 8.2.30
Disabled: passthru,exec,system,popen,shell_exec,proc_open,pcntl_exec
Upload Files
File: /home/clients/94735d3feef25fe7d1511e6bdd8b0ef6/web/wp-content/plugins/pods/ui/fields/tinymce.php
<?php
$settings                  = array();
$settings['textarea_name'] = $name;
$settings['media_buttons'] = false;
if ( ! ( defined( 'PODS_DISABLE_FILE_UPLOAD' ) && true === PODS_DISABLE_FILE_UPLOAD ) && ! ( defined( 'PODS_UPLOAD_REQUIRE_LOGIN' ) && is_bool( PODS_UPLOAD_REQUIRE_LOGIN ) && true === PODS_UPLOAD_REQUIRE_LOGIN && ! is_user_logged_in() ) && ! ( defined( 'PODS_UPLOAD_REQUIRE_LOGIN' ) && ! is_bool( PODS_UPLOAD_REQUIRE_LOGIN ) && ( ! is_user_logged_in() || ! current_user_can( PODS_UPLOAD_REQUIRE_LOGIN ) ) ) ) {
	$settings['media_buttons'] = (boolean) pods_var( 'wysiwyg_media_buttons', $options, true );
}

$editor_height = pods_v( 'wysiwyg_editor_height', $options, false );
if ( $editor_height ) {
	$settings['editor_height'] = $editor_height;
}

if ( isset( $options['settings'] ) ) {
	$settings = array_merge( $settings, $options['settings'] );
}

$attributes       = array();
$attributes       = PodsForm::merge_attributes( $attributes, $name, $form_field_type, $options, 'pods-ui-field-tinymce' );
$class_attributes = array( 'class' => $attributes['class'] );
?>
<div<?php PodsForm::attributes( $class_attributes, $name, $form_field_type, $options ); ?>>
	<?php wp_editor( $value, $attributes['id'], $settings ); ?>
</div>