wordpress/wp-content/themes/basic/themify/customizer/class-themify-customizer.php
/**
		 * Converts encoding for HTML entities not catched by html_entity_decode.
		 * @param array $matches
		 * @return string
		 */
Converts encoding for HTML entities not catched by html_entity_decode.
@param array $matches
@return string
Converts encoding for HTML entities not catched by html_entity_decode . @param array $matches @return string
function decode_entities( $matches ) {
			if ( function_exists( 'mb_convert_encoding' ) ) {
				$content = mb_convert_encoding( $matches[1], 'UTF-8', 'HTML-ENTITIES' );
			} else {
				$content = htmlspecialchars_decode( html_entity_decode( html_entity_decode( $matches[1], ENT_QUOTES | ENT_XML1, 'UTF-8' ) ) );
			}
			return $content;
		}
function decode_entities ( $ matches ) { if ( function_exists ( 'mb_convert_encoding' ) ) { $ content = mb_convert_encoding ( $ matches [ 1 ] , 'UTF-8' , 'HTML-ENTITIES' ) ; } else { $ content = htmlspecialchars_decode ( html_entity_decode ( html_entity_decode ( $ matches [ 1 ] , ENT_QUOTES | ENT_XML1 , 'UTF-8' ) ) ) ; } return $ content ; }
Converts encoding for HTML entities not catched by html_entity_decode.
Converts encoding for HTML entities not catched by html_entity_decode .