Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/www/wp-content/plugins/js_composer/include/templates/shortcodes/ |
Upload File : |
<?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;