Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_DOM_Document::load_with_mb_convert_encoding()
Load the HTML string in the DOMDocument using mb_convert_econding
Contents
Return Return
(void)
Source Source
File: includes/class-llms-dom-document.php
private function load_with_mb_convert_encoding() { if ( ! $this->dom->loadHTML( mb_convert_encoding( $this->source, 'HTML-ENTITIES', 'UTF-8' ) ) ) { $this->error = new WP_Error( 'llms-dom-document-error', __( 'DOMDocument XML Error encountered.', 'lifterlms' ), libxml_get_errors() ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.13.0 | Introduced. |