Server IP : 172.67.158.161 / Your IP : 3.12.74.189 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/giankuin/thietke365.net/wp-content/plugins/mailpoet/lib/Util/pQuery/ |
Upload File : |
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Util\pQuery; if (!defined('ABSPATH')) exit; use MailPoetVendor\pQuery\DomNode as pQueryDomNode; class DomNode extends pQueryDomNode { public $childClass = DomNode::class; public $parserClass = Html5Parser::class; public function getInnerText() { return html_entity_decode($this->toString(true, true, 1), ENT_NOQUOTES, 'UTF-8'); } public function getOuterText() { return html_entity_decode($this->toString(), ENT_NOQUOTES, 'UTF-8'); } public function query($query = '*') { $select = $this->select($query); $result = new pQuery((array)$select); return $result; } }