WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Самая быстрая Тема-конструктор для WordPress
функция не описана

MagpieRSS::feed_end_element() public WP 1.0

{} Это метод класса: MagpieRSS{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$MagpieRSS = new MagpieRSS();
$MagpieRSS->feed_end_element ( $p, $el );

Код MagpieRSS::feed_end_element() WP 5.5.2

<?php
function feed_end_element ($p, $el) {
	$el = strtolower($el);

	if ( $el == 'item' or $el == 'entry' )
	{
		$this->items[] = $this->current_item;
		$this->current_item = array();
		$this->initem = false;
	}
	elseif ($this->feed_type == RSS and $this->current_namespace == '' and $el == 'textinput' )
	{
		$this->intextinput = false;
	}
	elseif ($this->feed_type == RSS and $this->current_namespace == '' and $el == 'image' )
	{
		$this->inimage = false;
	}
	elseif ($this->feed_type == ATOM and in_array($el, $this->_CONTENT_CONSTRUCTS) )
	{
		$this->incontent = false;
	}
	elseif ($el == 'channel' or $el == 'feed' )
	{
		$this->inchannel = false;
	}
	elseif ($this->feed_type == ATOM and $this->incontent  ) {
		// balance tags properly
		// note: This may not actually be necessary
		if ( $this->stack[0] == $el )
		{
			$this->append_content("</$el>");
		}
		else {
			$this->append_content("<$el />");
		}

		array_shift( $this->stack );
	}
	else {
		array_shift( $this->stack );
	}

	$this->current_namespace = false;
}