HEX
Server: LiteSpeed
System: Linux srv158.niagahoster.com 4.18.0-553.30.1.lve.el8.x86_64 #1 SMP Tue Dec 3 01:21:19 UTC 2024 x86_64
User: u1694298 (3732)
PHP: 7.4.33
Disabled: symlink,shell_exec,exec,popen,system,dl,passthru,escapeshellarg,escapeshellcmd,show_source,pcntl_exec
Upload Files
File: /home/u1694298/www/wp-content/plugins/js_composer/include/templates/shortcodes/vc_custom_field.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
/**
 * @var array $atts
 * @var string $field_key
 * @var string $custom_field_key
 * @var string $el_class
 */
$field_key = $custom_field_key = $el_class = '';

extract( shortcode_atts( array(
	'field_key' => '',
	'custom_field_key' => '',
	'el_class' => '',
), $atts ) );

$key = strlen( $custom_field_key ) > 0 ? $custom_field_key : $field_key;

$output = '';
if ( strlen( $key ) ) {
	$output .= '<div class="vc_gitem-custom-field-' . esc_attr( $key ) . '">{{ post_meta_value: ' . esc_attr( $key ) . '}}</div>';
}

return $output;