ó T HP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/vhosts/esmaltycolor.com/httpdocs/var/cache/prod/smarty/compile/layouts_layout_full_width_tpl/18/d5/52/18d552f3676b58824b5cbf4dad71e791196172b6_2.file.product-prices.tpl.php on line 142, referer: https://www.esmaltycolor.com/alta-temperatura-1300c/2165-1943-colorante-azul-turquesa-p-10.html ayout_full_width_tpl/18/d5/52/18d552f3676b58824b5cbf4dad71e791196172b6_2.file.product-prices.tpl.php on line 142 mixed $default * * @return mixed */ public function get_raw_value( $setting, $attrs, $default = null ) { return $this->util_get( $this->get_hover_field( $setting ), $attrs, $default ); } /** * Adds `:hover` in selector at the end of the selector * E.g: add_hover_to_selectors('%%order_class%%% .image') >>> '%%order_class%%% .image:hover' * * @since 4.6.0 moved the order of `-` in capturing group 4's character set so it captures * `::-` prefixed pseudo selector like `::-moz-placeholder` correctly * * @param string $selector * * @return string */ public function add_hover_to_selectors( $selector ) { $selectors = explode( ',', $selector ); $selectors = array_map( 'trim', $selectors ); // Add hover to the end of the selector, but prevent specific situations like this: // .my-class:after => .my-class:after:hover, should be .my-class:hover:after $selectors = preg_replace( '/(.+\s)*([^\::?]+)((::?[-|a-z|\(|\)|\[|\]]+)+)?$/i', '$1$2:hover$3', $selectors ); return implode( ', ', $selectors ); } /** * Adds `:hover` in selector after `%%order_class%%` * E.g: add_hover_to_order_class('%%order_class%%% .image') >>> '%%order_class%%%:hover .image' * * @param string $selector * * @return string */ public function add_hover_to_order_class( $selector ) { $selectors = explode( ',', $selector ); $selectors = array_map( 'trim', $selectors ); // Add hover to the end of the selector, but prevent specific situations like this: // .my-class:after => .my-class:after:hover, should be .my-class:hover:after $selectors = preg_replace( '/(.*%%order_class%%[^\s|^:]*)(.*)/i', '$1:hover$2', $selectors ); return implode( ', ', $selectors ); } }