PHP 8.2.31
Preview: gutenberg.php Size: 655 B
//home/nshryvcy/himaltourism.com/wp-content/plugins/js_composer/include/params/gutenberg/gutenberg.php

<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

/**
 * Gutenberg field param.
 *
 * @param $settings
 * @param $value
 *
 * @return string - html string.
 */
function vc_gutenberg_form_field( $settings, $value ) {
	$value = htmlspecialchars( $value );

	return '<div class="vc_gutenberg-field-wrapper"><button class="vc_btn vc_btn-grey vc_btn-sm" data-vc-action="open">Open Editor</button><div class="vc_gutenberg-modal-wrapper"></div><input name="' . $settings['param_name'] . '" class="wpb_vc_param_value vc_gutenberg-field vc_param-name-' . $settings['param_name'] . ' ' . $settings['type'] . '" type="hidden" value="' . $value . '"/></div>';
}

Directory Contents

Dirs: 0 × Files: 2

Name Size Perms Modified Actions
5.30 KB lrw-r--r-- 2022-11-10 06:15:18
Edit Download
655 B lrw-r--r-- 2022-11-10 06:15:18
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).