: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
'type' => 'imageGradient',
'prop' => 'background-image',
if ($state === 'h' || $state === 'hover') {
protected static function get_blend($selector = '', $id = 'bl_m', $state = '', $filters_id = 'css_f') {//@deprecated has been moved to js
$filters_id .= '_' . $state;
if ($state === 'h' || $state === 'hover') {
protected static function get_repeat($selector = '', $id = 'background_repeat', $state = '') {//@deprecated has been moved to js
'prop' => 'background-mode',
'wrap_class' => 'tb_group_element_image tb_image_options'
if ($state === 'h' || $state === 'hover') {
protected static function get_position($selector = '', $id = 'background_position', $state = '') {//@deprecated has been moved to js
'type' => 'position_box',
'prop' => 'background-position',
if ($state === 'h' || $state === 'hover') {
protected static function get_padding($selector = '', $id = 'padding', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_margin($selector = '', $id = 'margin', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_gap($selector = '', $id = 'gap', $prop = 'gap', $state = '', $percent = false, $label = '') {//@deprecated has been moved to js
if ($percent !== false && $percent !== '') {
$units['%'] = $percent === true ? '' : $percent;
'label' => $label === '' ? ($prop === 'column-gap' ? 'ng' : ($prop === 'row-gap' ? 'rg' : 'gap')) : $label,
if ($state === 'h' || $state === 'hover') {
protected static function get_column_gap($selector = '', $id = 'cgap', $state = '', $percent = false, $label = '') {//@deprecated has been moved to js
return self::get_gap($selector, $id, 'column-gap', $state, $percent, $label);
protected static function get_row_gap($selector = '', $id = 'rgap', $state = '', $percent = false, $label = '') {//@deprecated has been moved to js
return self::get_gap($selector, $id, 'row-gap', $state, $percent, $label);
protected static function get_margin_top_bottom_opposity($selector = '', $topId = 'margin-top', $bottomId = 'margin-bottom', $state = '') {//@deprecated has been moved to js
$bottomId .= '_' . $state;
'type' => 'margin_opposity',
if ($state === 'h' || $state === 'hover') {
protected static function get_border($selector = '', $id = 'border', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_outline($selector = '', $id = 'o', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_aspect_ratio($selector = '', $id = 'asp', $state = '') {//@deprecated has been moved to js
'prop' => 'aspect-ratio',
if ($state === 'h' || $state === 'hover') {
protected static function get_multi_columns_count($selector = '', $id = 'column', $state = '') {//@deprecated has been moved to js
'type' => 'multiColumns',
'prop' => 'column-count',
if ($state === 'h' || $state === 'hover') {
protected static function get_color_type($selector = '', $state = '', $id = '', $solid_id = '', $gradient_id = '') {//@deprecated has been moved to js
if ($gradient_id === '') {
$solid_id .= '_' . $state;
$gradient_id .= '_' . $state;
$solid_id = 'font_color';
if ($gradient_id === '') {
$gradient_id = 'font_gradient_color';
if ($state === 'h' || $state === 'hover') {
protected static function get_border_radius($selector = '', $id = 'b_ra', $state = '') {//@deprecated has been moved to js
'type' => 'border_radius',
'prop' => 'border-radius',
if ($state === 'h' || $state === 'hover') {
protected static function get_box_shadow($selector = '', $id = 'b_sh', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_text_shadow($selector = '', $id = 'text-shadow', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_zindex($selector = '', $id = 'zi') {//@deprecated has been moved to js
protected static function get_width($selector = '', $id = 'width', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
// Get Height Options plus Auto Height
protected static function get_height($selector = '', $id = 'ht', $state = '', $minH = '', $maxH = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_css_position($selector = '', $id = 'po', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_display($selector = '', $id = 'disp') {//@deprecated has been moved to js
'empty' => array('hide' => $va_id),
'block' => array('hide' => $va_id),
'none' => array('hide' => $va_id),
'inline-block' => array('show' => $va_id)
'prop' => 'vertical-align',
protected static function get_transform($selector = '', $id = 'tr', $state = '') {//@deprecated has been moved to js
if ($state === 'h' || $state === 'hover') {
protected static function get_min_width($selector = '', $id = 'mi_w') {//deprecated, included in width field
protected static function get_min_height($selector = '', $id = 'mi_h') {//deprecated, included in height field
protected static function get_max_height($selector = '', $id = 'mx_h') {//deprecated, included in height field
protected static function get_margin_top($selector = '', $id = 'margin-top', $state = '') {//deprecated
protected static function get_margin_bottom($selector = '', $id = 'margin-bottom', $state = '') {//deprecated
protected static function get_multi_columns_gap($selector = '', $id = 'column', $state = '') {//backward compatibility
protected static function get_multi_columns_divider($selector = '', $id = 'column', $state = '') {//backward compatibility
protected static function get_heading_margin_multi_field($selector = '', $h_level = 'h1', $margin_side = 'top', $state = '', $id = '') {//deprecated use get_margin_top_bottom_opposity
$id = $id === '' ? $h_level : $id;
$id = $id . '_margin_' . $margin_side;
if ($selector !== '' && is_array($selector)) {
foreach ($selector as $key => $val) {
$selector[$key] = $val . ' ' . $h_level;
$selector .= ' ' . $h_level;
'label' => ('top' === $margin_side ? 'm' : ''),
'prop' => 'margin-' . $margin_side,
'description' => '<span class="tb_range_after">' . sprintf(__('%s', 'themify'), $margin_side) . '</span>',