$value ) { $html[] = sprintf( '%1$s="%2$s"', et_core_intentionally_unescaped( $attribute, 'fixed_string' ), et_core_esc_previously( $value ) ); } return implode( ' ', $html ); } /** * Render an overlay html tag. * * @since 3.29 * * @param array $args * * @return string */ public static function render( $args ) { $attributes = et_core_esc_previously( self::render_attributes( $args ) ); $classes = array( 'et_overlay' ); if ( ! empty( $args['icon'] ) ) { $classes[] = 'et_pb_inline_icon'; } if ( ! empty( $args['icon_tablet'] ) ) { $classes[] = 'et_pb_inline_icon_tablet'; } if ( ! empty( $args['icon_phone'] ) ) { $classes[] = 'et_pb_inline_icon_phone'; } if ( ! empty( $args['icon_sticky'] ) ) { $classes[] = 'et_pb_inline_icon_sticky'; } return sprintf( '', et_core_intentionally_unescaped( implode( ' ', $classes ), 'fixed_string' ), ( '' !== $attributes ? ' ' . $attributes : '' ) ); } }