Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)Σ(゚Д゚;≡;゚д゚)始,故人唐宰相鲁公,🆚开府南服,余以布衣从戎。明年,别公漳水湄。后明年,公以事过张睢阳庙及颜杲卿所尝往来处,悲歌慷慨,卒不负其言而从之游。今其诗具在,可考也。😭
<?php
if ( ! class_exists( 'foobox_compatibilty_elementor' ) ) {
class foobox_compatibilty_elementor {
public function __construct() {
add_action( 'plugins_loaded', array( $this, 'init' ) );
}
function init() {
if ( defined( 'ELEMENTOR_VERSION') ) {
add_filter( 'foobox_caption_title_attributes_override', array( $this, 'add_elementor_caption_title_attributes' ) );
add_filter( 'foobox_caption_desc_attributes_override', array( $this, 'add_elementor_caption_desc_attributes' ) );
}
}
function add_elementor_caption_title_attributes( $attributes ) {
if ( is_array( $attributes ) ) {
$attributes[] = 'elementorLightboxTitle';
}
return $attributes;
}
function add_elementor_caption_desc_attributes( $attributes ) {
if ( is_array( $attributes ) ) {
$attributes[] = 'elementorLightboxDescription';
}
return $attributes;
}
}
}