<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0">

<channel>
	<title>Архивы – WordPress как на ладони</title>
	<atom:link href="https://wp-kama.ru/feed" rel="self" type="application/rss+xml"/>
	<link>https://wp-kama.ru</link>
	<description>Сайт о движке WordPress: кодекс, функции, готовые коды, плагины, хуки, вопросы и ответы, статьи для новичков и профи</description>
	<lastBuildDate>Tue, 06 Oct 2026 21:52:26 +0000</lastBuildDate>
	<language>ru-RU</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wp-kama.ru/wp-content/uploads/2020/12/cropped-wp-kama-favicon-32x32.png</url>
	<title>Архивы – WordPress как на ладони</title>
	<link>https://wp-kama.ru</link>
	<width>32</width>
	<height>32</height>
</image> 
	<xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><item>
		<title>Функция WordPress: WC_Product{}</title>
		<link>https://wp-kama.ru/plugin/woocommerce/function/WC_Product</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sat, 03 Oct 2026 18:45:15 +0000</pubDate>
				<guid isPermaLink="false">/plugin/woocommerce/function/WC_Product</guid>

					<description><![CDATA[Работает с данными отдельного товара WooCommerce: названием, ценами, остатками, изображениями, атрибутами и другими свойствами. Позволяет создавать, получать, изменять и удалять товары.]]></description>
		
		
		
			</item>
		<item>
		<title>Юнит-тесты для WordPress с unitest-wp-copy</title>
		<link>https://wp-kama.ru/id_17949/unitest-wp-copy.html</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sat, 03 Oct 2026 14:41:28 +0000</pubDate>
				<category><![CDATA[Полезности]]></category>
		<category><![CDATA[Теория Wordpress (базовые знания)]]></category>
		<category><![CDATA[Тесты (tests)]]></category>
		<guid isPermaLink="false">/id_17949/unitest-wp-copy.html</guid>

					<description><![CDATA[Чтобы проверить небольшой класс плагина, не всегда нужно устанавливать WordPress и поднимать тестовую базу данных. Если код очищает строки, форматирует HTML, парсит блоки или обрабатывает массивы, его можно тестировать отдельно от сайта. Проблема возникает, когда такой класс использует функции WordPress: обычный PHPUnit ничего не знает о sanitize_text_field(), wpautop() или esc_html(). Пакет doiftrue/unitest-wp-copy решает эту задачу: [&#8230;]
]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-событие WordPress: network_admin_edit_(action)</title>
		<link>https://wp-kama.ru/hook/network_admin_edit_-action</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Thu, 01 Oct 2026 23:52:11 +0000</pubDate>
				<guid isPermaLink="false">/hook/network_admin_edit_-action</guid>

					<description><![CDATA[Срабатывает при обработке пользовательского действия через <code>wp-admin/network/edit.php</code> в админке сети WordPress Multisite.]]></description>
		
		
		
			</item>
		<item>
		<title>Функция WordPress: get_site()</title>
		<link>https://wp-kama.ru/function/get_site</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Tue, 29 Sep 2026 13:26:13 +0000</pubDate>
				<guid isPermaLink="false">/function/get_site</guid>

					<description><![CDATA[Получает данные сайта сети по его ID. Если аргумент не указан, получает данные текущего сайта.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-событие WordPress: edit_post_(post_type)</title>
		<link>https://wp-kama.ru/hook/edit_post_-post_type</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Tue, 22 Sep 2026 23:51:15 +0000</pubDate>
				<guid isPermaLink="false">/hook/edit_post_-post_type</guid>

					<description><![CDATA[Срабатывает после обновления существующей записи указанного типа в БД.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-событие WordPress: restrict_manage_posts</title>
		<link>https://wp-kama.ru/hook/restrict_manage_posts</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Tue, 22 Sep 2026 22:51:46 +0000</pubDate>
				<guid isPermaLink="false">/hook/restrict_manage_posts</guid>

					<description><![CDATA[Срабатывает перед кнопкой «Фильтр» в таблице записей админки. Позволяет добавить поля для фильтрации записей, страниц и произвольных типов записей.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-Фильтр WordPress: get_the_excerpt</title>
		<link>https://wp-kama.ru/hook/get_the_excerpt</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Tue, 22 Sep 2026 21:58:47 +0000</pubDate>
				<guid isPermaLink="false">/hook/get_the_excerpt</guid>

					<description><![CDATA[Позволяет изменить отрывок записи, получаемый через <a href="/function/get_the_excerpt">get_the_excerpt()</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-Фильтр WordPress: post_type_link</title>
		<link>https://wp-kama.ru/hook/post_type_link</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Mon, 21 Sep 2026 07:48:46 +0000</pubDate>
				<guid isPermaLink="false">/hook/post_type_link</guid>

					<description><![CDATA[Позволяет изменить ссылку на кастомный пост.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-Фильтр WordPress: excerpt_length</title>
		<link>https://wp-kama.ru/hook/excerpt_length</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sun, 20 Sep 2026 15:01:23 +0000</pubDate>
				<guid isPermaLink="false">/hook/excerpt_length</guid>

					<description><![CDATA[Позволяет изменить максимальное количество слов в автоматически создаваемом отрывке записи. По умолчанию используется 55 слов.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-Фильтр WordPress: wp_title</title>
		<link>https://wp-kama.ru/hook/wp_title</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sun, 20 Sep 2026 14:59:16 +0000</pubDate>
				<guid isPermaLink="false">/hook/wp_title</guid>

					<description><![CDATA[Позволяет изменить текст заголовка страницы, сформированный функцией <a href="/function/wp_title">wp_title()</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-Фильтр WordPress: paginate_links</title>
		<link>https://wp-kama.ru/hook/paginate_links</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sun, 20 Sep 2026 14:37:11 +0000</pubDate>
				<guid isPermaLink="false">/hook/paginate_links</guid>

					<description><![CDATA[Позволяет изменить URL каждой ссылки пагинации, созданной функцией <a href="/function/paginate_links">paginate_links()</a>.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-Фильтр WordPress: the_category</title>
		<link>https://wp-kama.ru/hook/the_category</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sun, 20 Sep 2026 14:31:59 +0000</pubDate>
				<guid isPermaLink="false">/hook/the_category</guid>

					<description><![CDATA[Позволяет изменить категорию или готовый список категорий записи.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-событие WordPress: admin_head</title>
		<link>https://wp-kama.ru/hook/admin_head</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sun, 20 Sep 2026 14:24:24 +0000</pubDate>
				<guid isPermaLink="false">/hook/admin_head</guid>

					<description><![CDATA[Срабатывает внутри секции <code>&#60;head&#62;</code> на всех страницах админки WordPress.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-событие WordPress: wp_insert_post</title>
		<link>https://wp-kama.ru/hook/wp_insert_post</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sun, 20 Sep 2026 14:14:50 +0000</pubDate>
				<guid isPermaLink="false">/hook/wp_insert_post</guid>

					<description><![CDATA[Срабатывает после сохранения новой или обновления существующей записи.]]></description>
		
		
		
			</item>
		<item>
		<title>Хук-событие WordPress: admin_init</title>
		<link>https://wp-kama.ru/hook/admin_init</link>
		
		<dc:creator><![CDATA[Kama]]></dc:creator>
		<pubDate>Sun, 20 Sep 2026 11:38:26 +0000</pubDate>
				<guid isPermaLink="false">/hook/admin_init</guid>

					<description><![CDATA[Срабатывает при инициализации админ-экрана или служебного запроса WordPress (ajax).]]></description>
		
		
		
			</item>
	</channel>
</rss>