array( 'config' => array( 'label' => __( 'Replace Image', 'thrive-cb' ), ), ), 'Height' => array( 'config' => array( 'default' => 'auto', 'min' => '20', 'max' => '200', 'label' => __( 'Size (height)', 'thrive-cb' ), 'um' => [ 'px' ], 'css' => 'width', ), 'extends' => 'Slider', ), ); $components['image-effects'] = $image_components['image-effects']; $components['image-effects']['config']['css_suffix'] = ':not(.tcb-elem-placeholder)'; $components['image-effects']['config']['ImageOverlaySwitch']['strategy'] = 'pseudo-element'; $components['image-effects']['config']['ImageOverlaySwitch']['css_suffix'] = ':not(.tcb-elem-placeholder)::after'; $components['image-effects']['config']['ImageOverlay']['css_suffix'] = ':not(.tcb-elem-placeholder)::after'; return $components; } public function own_components() { return []; } }