fUPBfU `t fUP< fUP6кfU pfUPB fU7<fU` R fU9fU0 "pfU,fU*кfU pfUPPB fU;<pʷfU >fU*)fUP!fU`!+pʷfU0 #>fU@#*fU &DfU &EfUPP&BfU `&t fU&<`TfU &fU &pۺfUa &RfU  &RfU 0&fU0` @&кfU`̉P 8&p fUP&<fU@P`&OfU`P&t fUG&<ڸfU&l0ͻfU H(pfU P(t fU(<pfU(fU(+0ͻfU@ X+pfU@ P+t fU+< fUK+]fU-MfU-NкfU ԉh.pfUP.B fUM.<fU-*@ڸfU-AfU0>fU0*кfUx4pfUP4B fUN4<AfU5>pʷfU8>pʷfU9>l\P AP A0V\ M\ A A`V\H AY AY AV\PM\AF AH AY AY AM\M\H@AV\M\N\8A A AV\@N\pN\XAgAN\N\H@A,\X'\\Y AY AH AY AY A W\O\0O\`O\8A`G\O\O\ЏA\0\H@A\`\\ة\謊\\\XAgA`^>\aAPW\ \X[ A0[ AX[ A0[ Ahƕ\Ε\\G AH AY AY AI AI AXH A\\"\;\ A Ax\P:\|AH\ē\H AR A\J AJ A\x:\h AW\P\\I AI AI AI Ahrow new \Exception('Class must be an instance of WPGMZA\\DOMDocument'); $node->import($instance); return; } throw new \Exception("Failed to import page \"$subject\" in {$this->src * @param WP_Term|object $term Term object. */ public function __construct( $term ) { foreach ( get_object_vars( $term ) as $key => $value ) { $this->$key = $value; } } /** * Sanitizes term fields, according to the filter type provided. * * @since 4.4.0 * * @param string $filter Filter context. Accepts 'edit', 'db', 'display', 'attribute', 'js', 'rss', or 'raw'. */ public function filter( $filter ) { sanitize_term( $this, $this->taxonomy, $filter ); } /** * Converts an object to array. * * @since 4.4.0 * * @return array Object as array. */ public function to_array() { return get_object_vars( $this ); } /** * Getter. * * @since 4.4.0 * * @param string $key Property to get. * @return mixed Property value. */ public function __get( $key ) { switch ( $key ) { case 'data': $data = new stdClass(); $columns = array( 'term_id', 'name', 'slug', 'term_group', 'term_taxonomy_id', 'taxonomy', 'description', 'parent', 'count' ); foreach ( $columns as $column ) { $data->{$column} = isset( $this->{$column} ) ? $this->{$column} : null; } return sanitize_term( $data, $data->taxonomy, 'raw' ); } } }