{"id":231708,"date":"2023-01-04T13:18:00","date_gmt":"2023-01-04T10:18:00","guid":{"rendered":"https:\/\/wordpress.mediadoma.com\/?p=231708"},"modified":"2023-01-04T13:19:39","modified_gmt":"2023-01-04T10:19:39","slug":"roz-iednannja-logiki-domenu-v-wordpress","status":"publish","type":"post","link":"https:\/\/wordpress.mediadoma.com\/uk\/roz-iednannja-logiki-domenu-v-wordpress\/","title":{"rendered":"\u0420\u043e\u0437\u2019\u0454\u0434\u043d\u0430\u043d\u043d\u044f \u043b\u043e\u0433\u0456\u043a\u0438 \u0434\u043e\u043c\u0435\u043d\u0443 \u0432 WordPress"},"content":{"rendered":"\n<p>\u041f\u0430\u043c&#8217;\u044f\u0442\u0430\u0439\u0442\u0435, \u0449\u043e WordPress \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Event-driven_architecture\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0443\u0432\u0430\u043d\u043d\u044f, \u043a\u0435\u0440\u043e\u0432\u0430\u043d\u0438\u0439 \u043f\u043e\u0434\u0456\u044f\u043c\u0438,<\/a> \u0456 \u0445\u043e\u0447\u0430 \u043c\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u043e\u0441\u0438\u043b\u0430\u0454\u043c\u043e\u0441\u044f \u043d\u0430 \u0434\u0456\u0457 \u0442\u0430 \u0444\u0456\u043b\u044c\u0442\u0440\u0438, \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0456\u044f \u0437\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0434\u043e \u0445\u0443\u043a\u0456\u0432. \u041f\u043e\u0442\u0456\u043a \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443 \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0454 \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u043d\u043e \u0442\u0430\u043a:<\/p>\n<ol>\n<li>\u0412\u0438\u043a\u043e\u043d\u0430\u0442\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443,<\/li>\n<li>\u0429\u043e\u0440\u0430\u0437\u0443, \u043a\u043e\u043b\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0430 \u043d\u0430\u0442\u0440\u0430\u043f\u043b\u044f\u0454 \u043d\u0430 \u0445\u0443\u043a (\u0443 WordPress \u043c\u0438 \u043f\u043e\u0431\u0430\u0447\u0438\u043c\u043e <code>do_action<\/code>\u0430\u0431\u043e <code>apply_filters<\/code>), \u043f\u043e\u0432\u0442\u043e\u0440\u044e\u0439\u0442\u0435 \u0432\u0441\u0456 \u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u043e\u0432\u0430\u043d\u0456 \u0445\u0443\u043a\u0438,<\/li>\n<li>\u041f\u043e\u0432\u0435\u0440\u043d\u0443\u0442\u0438 \u0443\u043f\u0440\u0430\u0432\u043b\u0456\u043d\u043d\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0456,<\/li>\n<li>\u0412\u0438\u043a\u043e\u043d\u0430\u0442\u0438 \u0434\u043e \u043a\u0456\u043d\u0446\u044f.<\/li>\n<\/ol>\n<p>\u0426\u0435 \u043d\u0435 \u0437\u043e\u0432\u0441\u0456\u043c \u0432\u0456\u0434\u0440\u0456\u0437\u043d\u044f\u0454\u0442\u044c\u0441\u044f \u0432\u0456\u0434 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u00ab\u0412\u0438\u0434\u0430\u0432\u0435\u0446\u044c\/\u041f\u0456\u0434\u043f\u0438\u0441\u043d\u0438\u043a\u00bb (\u0430\u0431\u043e <a href=\"https:\/\/en.wikipedia.org\/wiki\/Publish%E2%80%93subscribe_pattern\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">PubSub<\/a>, \u0441\u043a\u043e\u0440\u043e\u0447\u0435\u043d\u043e), \u0430\u043b\u0435 \u0454 \u043a\u043b\u044e\u0447\u043e\u0432\u0430 \u0432\u0456\u0434\u043c\u0456\u043d\u043d\u0456\u0441\u0442\u044c: \u0448\u0430\u0431\u043b\u043e\u043d, \u043a\u0435\u0440\u043e\u0432\u0430\u043d\u0438\u0439 \u043f\u043e\u0434\u0456\u044f\u043c\u0438, \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0456\u0437\u0443\u0454 \u043f\u0440\u043e \u0442\u0435, \u0449\u043e \u0449\u043e\u0441\u044c \u0441\u0442\u0430\u043b\u043e\u0441\u044f, \u0456 \u044f\u043a\u0449\u043e \u0454 \u0433\u0430\u0447\u043a\u0438, \u0432\u043e\u043d\u0438 \u0441\u043f\u0440\u0430\u0446\u044e\u044e\u0442\u044c. \u041f\u0430\u0442\u0435\u0440\u043d PubSub \u0441\u043a\u0430\u0436\u0435 \u0437\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u043e\u0432\u0430\u043d\u043e\u043c\u0443 \u043f\u0456\u0434\u043f\u0438\u0441\u043d\u0438\u043a\u0443 \u0449\u043e\u0441\u044c \u0437\u0440\u043e\u0431\u0438\u0442\u0438.<\/p>\n<p>\u0423 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443, \u043f\u043e\u0432\u0435\u0440\u043d\u0435\u043c\u043e\u0441\u044f \u0434\u043e \u0445\u0443\u043a\u0456\u0432 \u0443 WordPress. \u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438 \u0434\u0432\u0456 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0456\u0457 \u0445\u0443\u043a\u0456\u0432, \u044f\u043a\u0456 \u043c\u0438 \u043c\u0430\u0454\u043c\u043e, \u043c\u043e\u0436\u043d\u0430 \u043d\u0430\u0439\u043f\u0440\u043e\u0441\u0442\u0456\u0448\u0435 \u0437\u0440\u043e\u0431\u0438\u0442\u0438, \u043f\u043e\u0434\u0443\u043c\u0430\u0432\u0448\u0438 \u043f\u0440\u043e \u043d\u0438\u0445 \u0442\u0430\u043a:<\/p>\n<ul>\n<li>\u0414\u0456\u0457 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0449\u043e\u0431 \u0449\u043e\u0441\u044c \u0440\u043e\u0431\u0438\u0442\u0438,<\/li>\n<li>\u0424\u0456\u043b\u044c\u0442\u0440\u0438 \u043f\u0440\u0438\u0437\u043d\u0430\u0447\u0435\u043d\u0456 \u0434\u043b\u044f \u043e\u0431\u0440\u043e\u0431\u043a\u0438 \u0434\u0430\u043d\u0438\u0445.<\/li>\n<\/ul>\n<p>\u042f\u043a\u0449\u043e \u0432\u0438 \u0445\u043e\u0447\u0435\u0442\u0435 \u043f\u0456\u0434\u0456\u0439\u0442\u0438 \u0434\u043e \u0440\u043e\u0437\u0440\u043e\u0431\u043a\u0438 WordPress \u0432 \u043e\u0431\u2019\u0454\u043a\u0442\u043d\u043e-\u043e\u0440\u0456\u0454\u043d\u0442\u043e\u0432\u0430\u043d\u0438\u0439 \u0441\u043f\u043e\u0441\u0456\u0431, \u0442\u0456\u0441\u043d\u043e \u043f\u043e\u0432\u2019\u044f\u0437\u0443\u0432\u0430\u0442\u0438 \u0441\u0432\u0456\u0439 \u043a\u043e\u0434 \u0456\u0437 \u044f\u0434\u0440\u043e\u043c WordPress, \u0440\u0435\u0454\u0441\u0442\u0440\u0443\u044e\u0447\u0438 \u0441\u0432\u043e\u0457 \u043a\u043b\u0430\u0441\u0438 \u0447\u0435\u0440\u0435\u0437 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0434\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0457 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0438, \u043d\u0435 \u0454 \u0433\u0430\u0440\u043d\u043e\u044e \u0456\u0434\u0435\u0454\u044e.<\/p>\n<p>\u0406\u043d\u0448\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438, \u043d\u0435 \u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0439\u0442\u0435 \u0441\u0432\u043e\u044e \u0431\u0456\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0456\u043a\u0443 \u0432 WordPress. \u0422\u0440\u0438\u043c\u0430\u0439\u0442\u0435 \u0457\u0445 \u043e\u043a\u0440\u0435\u043c\u043e. \u041e\u0441\u044c \u043b\u0430\u043a\u043c\u0443\u0441\u043e\u0432\u0438\u0439 \u043f\u0430\u043f\u0456\u0440\u0435\u0446\u044c \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0449\u043e\u0431 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438, \u0447\u0438 \u0432\u0430\u0448\u0430 \u0440\u043e\u0431\u043e\u0442\u0430 \u0442\u0456\u0441\u043d\u043e \u043f\u043e\u0432\u2019\u044f\u0437\u0430\u043d\u0430 \u0437 WordPress: \u044f\u043a\u0449\u043e \u0432\u0438 \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0438 \u043c\u043e\u0434\u0443\u043b\u044c\u043d\u0438\u0439 \u0442\u0435\u0441\u0442 \u0441\u0432\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0443, \u043d\u0435 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0443\u044e\u0447\u0438 WordPress, \u0446\u0435 \u0442\u0456\u0441\u043d\u043e \u043f\u043e\u0432\u2019\u044f\u0437\u0430\u043d\u043e.<\/p>\n<p>\u0422\u0430\u043a \u044f\u043a\u0435 \u0440\u0456\u0448\u0435\u043d\u043d\u044f? \u0414\u0435\u043b\u0435\u0433\u0443\u0432\u0430\u043d\u043d\u044f.<\/p>\n<h2>\u041b\u043e\u0433\u0456\u043a\u0430 \u0434\u043e\u043c\u0435\u043d\u0443 \u0432 WordPress<\/h2>\n<p>\u041d\u0430 \u043c\u0456\u0439 \u043f\u043e\u0433\u043b\u044f\u0434, \u043b\u043e\u0433\u0456\u043a\u0430 \u0434\u043e\u043c\u0435\u043d\u0443 \u0442\u0430 \u0431\u0456\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0456\u043a\u0430 \u0432\u0437\u0430\u0454\u043c\u043e\u0437\u0430\u043c\u0456\u043d\u043d\u0456, \u0442\u043e\u0436 \u044f\u043a\u0449\u043e \u0432\u0438 \u0447\u0438\u0442\u0430\u043b\u0438 \u043f\u0440\u043e \u0446\u0435 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457, \u0456 \u044f \u0433\u043e\u0432\u043e\u0440\u0438\u0432 \u043f\u0440\u043e \u043d\u0438\u0445 \u0440\u0456\u0437\u043d\u0438\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438, \u0432\u0438 \u0437\u043d\u0430\u0454\u0442\u0435 \u0447\u043e\u043c\u0443.<\/p>\n<p><a href=\"https:\/\/wordpress.mediadoma.com\/wp-content\/uploads\/2022\/01\/post-158738-61e6e493ec777.png\" data-rel=\"lightbox\"><img decoding=\"async\" class=\"SDStudio-light-box-enable SDStudio-editor-tools-md-imp\" src=\"https:\/\/wordpress.mediadoma.com\/wp-content\/uploads\/2022\/01\/post-158738-61e6e493ec777.png\" alt=\"\u0420\u043e\u0437\u2019\u0454\u0434\u043d\u0430\u043d\u043d\u044f \u043b\u043e\u0433\u0456\u043a\u0438 \u0434\u043e\u043c\u0435\u043d\u0443 \u0432 WordPress\"><\/a><\/p>\n<p><a href=\"https:\/\/unsplash.com\/photos\/guiQYiRxkZY\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u041a\u0440\u0435\u0434\u0438\u0442<\/a><\/p>\n<p>\u0414\u0430\u043b\u0456, \u0456\u0434\u0435\u044f \u0434\u0435\u043b\u0435\u0433\u0443\u0432\u0430\u043d\u043d\u044f \u043b\u043e\u0433\u0456\u043a\u0438 \u0432\u0456\u0434 WordPress \u0434\u043e \u043a\u043b\u0430\u0441\u0443 \u0434\u043b\u044f \u0434\u043e\u043c\u0435\u043d\u043d\u043e\u0457 \u043b\u043e\u0433\u0456\u043a\u0438 \u0432 WordPress \u0432\u0438\u043a\u043e\u043d\u0443\u0454\u0442\u044c\u0441\u044f \u043a\u043b\u0430\u0441\u043e\u043c-\u043f\u043e\u0441\u0435\u0440\u0435\u0434\u043d\u0438\u043a\u043e\u043c, \u044f\u043a\u0438\u0439 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u0454 \u0437\u0430 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0435:<\/p>\n<ol>\n<li>\u041f\u0456\u0434\u043f\u0438\u0441\u0430\u0432\u0448\u0438\u0441\u044c \u043d\u0430 \u0445\u0443\u043a,<\/li>\n<li>\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0440\u043e\u0431\u043e\u0442\u0438 \u043a\u043b\u0430\u0441\u0443.<\/li>\n<\/ol>\n<p>\u042f \u0437\u043d\u0430\u044e, \u0449\u043e \u043a\u043b\u0430\u0441\u0438 \u043f\u043e\u0432\u0438\u043d\u043d\u0456 \u0440\u043e\u0431\u0438\u0442\u0438 \u00ab\u043e\u0434\u043d\u0443 \u0441\u043f\u0440\u0430\u0432\u0443 \u0434\u043e\u0431\u0440\u0435\u00bb, \u0430\u043b\u0435 \u0449\u043e, \u044f\u043a\u0449\u043e \u0446\u0435 \u043e\u0434\u043d\u0435 \u2014 \u0434\u0435\u043b\u0435\u0433\u0443\u0432\u0430\u043d\u043d\u044f?<\/p>\n<blockquote>\n<p>\u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u0438 (\u043f\u043e\u0432\u043d\u043e\u0432\u0430\u0436\u0435\u043d\u043d\u044f, \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u0442\u043e\u0449\u043e) \u0456\u043d\u0448\u043e\u043c\u0443 \u044f\u043a \u0430\u0433\u0435\u043d\u0442\u0443<\/p>\n<p><a href=\"https:\/\/www.dictionary.com\/browse\/delegate\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0441\u043b\u043e\u0432\u043d\u0438\u043a<\/a><\/p>\n<\/blockquote>\n<p>\u0406 \u0449\u043e\u0431 \u043d\u0430\u043b\u0435\u0436\u043d\u0438\u043c \u0447\u0438\u043d\u043e\u043c \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u0456\u043d\u0448\u043e\u043c\u0443 \u0430\u0433\u0435\u043d\u0442\u0443 \u0430\u0431\u043e, \u0443 \u043d\u0430\u0448\u043e\u043c\u0443 \u0432\u0438\u043f\u0430\u0434\u043a\u0443, \u043a\u043b\u0430\u0441\u0443, \u0432\u0438 \u043f\u043e\u0432\u0438\u043d\u043d\u0456 \u043c\u0430\u0442\u0438 \u043c\u043e\u0436\u043b\u0438\u0432\u0456\u0441\u0442\u044c \u0437\u043d\u0430\u0442\u0438, \u0449\u043e \u0432\u0438 \u0434\u0435\u043b\u0435\u0433\u0443\u0454\u0442\u0435. \u0406\u043d\u043e\u0434\u0456, \u0449\u043e\u0431 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u043e\u0434\u043d\u0443 \u0441\u043f\u0440\u0430\u0432\u0443, \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0437\u043d\u0430\u0442\u0438 \u043a\u0456\u043b\u044c\u043a\u0430 \u0447\u0430\u0441\u0442\u0438\u043d \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u0457.<\/p>\n<p>\u041e\u0442\u0436\u0435, \u044f\u043a \u0446\u0435 \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0454 \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u0446\u0456? \u0423\u044f\u0432\u0456\u0442\u044c, \u0449\u043e \u0443 \u0432\u0430\u0441 \u0454 \u0444\u0443\u043d\u043a\u0446\u0456\u044f <code>[AbstractSubscriber](https:\/\/github.com\/tommcfarlin\/remove-empty-shortcodes\/blob\/master\/src\/Subscriber\/AbstractSubscriber.php)<\/code>to, \u044f\u043a\u0430 \u0432\u0456\u0437\u044c\u043c\u0435 \u043d\u0430\u0437\u0432\u0443 \u0445\u0443\u043a\u0430 \u0432 \u0441\u0432\u0456\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440:<\/p>\n<pre><code>&lt;?php\n\n\/*\n * This file is part of Remove Empty Shortcodes.\n *\n * (c) Tom McFarlin &lt;tom@tommcfarlin.com&gt;\n *\n * This source file is subject to the GPL license that is bundled\n * with this source code in the file LICENSE.\n *\/\n\nnamespace TomMcFarlinRESCSubscriber;\n\nuse TomMcFarlinUtilitiesRegistry;\n\n\/**\n * An abstract implementation of a subscriber that requires a hook and the ability to\n * start the class.\n *\/\nabstract class AbstractSubscriber\n{\n    \/**\n     * @var string a reference to the hook to which the subscriber should be registered\n     *\/\n    protected $hook;\n\n    \/**\n     * @var Registry a reference to the simple container used to maintain plugin objects\n     *\/\n    protected $registry;\n\n    \/**\n     * @param string $hook the hook to which the subscriber is registered\n     *\/\n    public function __construct(string $hook)\n    {\n        $this-&gt;hook = $hook;\n        $this-&gt;registry = apply_filters('rescRegistry', null);\n    }\n\n    \/**\n     * @return string the hook to which the subscriber is registered\n     *\/\n    public function getHook(): string\n    {\n        return $this-&gt;hook;\n    }\n\n    abstract public function load();\n}<\/code><\/pre>\n<p>\u0410 \u043f\u043e\u0442\u0456\u043c, \u044f\u043a \u0442\u0456\u043b\u044c\u043a\u0438 \u0446\u0435 \u0431\u0443\u0434\u0435 \u0437\u0440\u043e\u0431\u043b\u0435\u043d\u043e, <code>load<\/code>\u0444\u0443\u043d\u043a\u0446\u0456\u044f \u043d\u0430\u0434\u0456\u0448\u043b\u0435 \u0440\u043e\u0431\u043e\u0442\u0443 \u0434\u043e \u043a\u043b\u0430\u0441\u0443, \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u0430 \u0444\u0430\u043a\u0442\u0438\u0447\u043d\u0443 \u043e\u0431\u0440\u043e\u0431\u043a\u0443.<\/p>\n<p>\u0412\u0456\u0437\u044c\u043c\u0435\u043c\u043e, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, <a href=\"https:\/\/github.com\/tommcfarlin\/remove-empty-shortcodes\/blob\/master\/src\/WordPress\/PostContentProcessor.php\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0446\u0435\u0439 \u043a\u043e\u0434<\/a> \u0456\u0437 <a href=\"https:\/\/github.com\/tommcfarlin\/remove-empty-shortcodes\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">Remove Empty Shortcodes<\/a> :<\/p>\n<pre><code>&lt;?php\n\n\/*\n * This file is part of Remove Empty Shortcodes.\n *\n * (c) Tom McFarlin &lt;tom@tommcfarlin.com&gt;\n *\n * This source file is subject to the GPL license that is bundled\n * with this source code in the file LICENSE.\n *\/\n\nnamespace TomMcFarlinRESCWordPress;\n\n\/**\n * Processes the post content by looking to see if any orphaned shortcode\n * exists and then removes it from displaying it from the user.\n *\/\nclass PostContentProcessor\n{\n    \/**\n     * A reference to the Shortcode Manager for processing orphaned shortcodes.\n     *\/\n    private $shortcodeManager;\n\n    \/**\n     * Initializes the class by setting up a reference to the Registry and the\n     * Shortcode Manager.\n     *\/\n    public function __construct()\n    {\n        $registry = apply_filters('rescRegistry', null);\n        $this-&gt;shortcodeManager = $registry-&gt;get('shortcodeManager');\n    }\n\n    \/**\n     * @param string $content the filtered post content\n     *\n     * @return string $content the filtered post content without the shortcode\n     *\/\n    public function run(string $content): string\n    {\n        return $this-&gt;shortcodeManager-&gt;processShortcodes($content);\n    }\n}<\/code><\/pre>\n<p>\u041a\u043b\u0430\u0441 \u043f\u0456\u0434\u043f\u0438\u0441\u0443\u0454\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u0435\u0432\u043d\u0443 \u043f\u043e\u0434\u0456\u044e, \u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434 <code>[the_content](https:\/\/developer.wordpress.org\/reference\/functions\/the_content\/)<\/code>, \u0430 \u043f\u043e\u0442\u0456\u043c \u0434\u0435\u043b\u0435\u0433\u0443\u0454 \u0440\u043e\u0431\u043e\u0442\u0443 \u043a\u043b\u0430\u0441\u0443 \u043f\u043e\u0441\u0442\u043e\u0431\u0440\u043e\u0431\u043a\u0438 \u0432\u043c\u0456\u0441\u0442\u0443.<\/p>\n<p>\u0426\u0435 \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u0444\u0430\u0439\u043b\u0443 \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f \u043f\u043b\u0430\u0433\u0456\u043d\u0430 \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u0435\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0443. \u041f\u043e\u0442\u0456\u043c \u0434\u0435\u043b\u0435\u0433\u0430\u0442 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0430\u0454\u0442\u044c\u0441\u044f \u0434\u043e WordPress, \u0456 \u043a\u043e\u043b\u0438 WordPress \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u0434\u043e \u043d\u0430\u043b\u0435\u0436\u043d\u043e\u0457 \u0442\u043e\u0447\u043a\u0438 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f, \u0434\u0435\u043b\u0435\u0433\u0430\u0442 \u043f\u0435\u0440\u0435\u0434\u0430\u0454 \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u043b\u044c\u043d\u0456\u0441\u0442\u044c \u043a\u043b\u0430\u0441\u0443, \u0432\u0456\u0434\u043f\u043e\u0432\u0456\u0434\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0437\u0430 \u0439\u043e\u0433\u043e \u043e\u0431\u0440\u043e\u0431\u043a\u0443.<\/p>\n<p>\u0412\u0441\u044f \u0446\u044f \u0430\u0440\u0445\u0456\u0442\u0435\u043a\u0442\u0443\u0440\u0430 \u043d\u0435 \u0442\u0456\u043b\u044c\u043a\u0438 \u043f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u043f\u0440\u0438\u0434\u0430\u0442\u043d\u0430 \u0434\u043b\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f (\u0434\u0438\u0432. \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0443 \u0432\u0438\u0449\u0435), \u0430\u043b\u0435 \u0439 \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u043d\u0430\u043c \u0432\u0456\u0434\u043e\u043a\u0440\u0435\u043c\u0438\u0442\u0438 \u043b\u043e\u0433\u0456\u043a\u0443 \u0434\u043e\u043c\u0435\u043d\u0443 \u0432\u0456\u0434 WordPress \u0456 \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0443\u0432\u0430\u0442\u0438 \u0457\u0457 \u043e\u043a\u0440\u0435\u043c\u043e.<\/p>\n<h2>\u0411\u0456\u043b\u044c\u0448\u0435 \u043f\u0440\u043e \u0440\u043e\u0437\u0434\u0456\u043b\u0435\u043d\u043d\u044f \u0456\u043d\u0442\u0435\u0440\u0435\u0441\u0456\u0432<\/h2>\n<p>\u042f \u043d\u0430\u043f\u0438\u0441\u0430\u0432 \u043a\u0456\u043b\u044c\u043a\u0430 \u0456\u043d\u0448\u0438\u0445 \u0434\u043e\u043f\u0438\u0441\u0456\u0432 \u043f\u0440\u043e \u0440\u043e\u0437\u0434\u0456\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c:<\/p>\n<ul>\n<li><a href=\"https:\/\/tommcfarlin.com\/separation-of-concerns-with-wordpress-templates\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0420\u043e\u0437\u0434\u0456\u043b\u0435\u043d\u043d\u044f \u0456\u043d\u0442\u0435\u0440\u0435\u0441\u0456\u0432 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 WordPress<\/a><\/li>\n<li><a href=\"https:\/\/tommcfarlin.com\/separation-of-concerns-with-queries-and-helper-functions\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0420\u043e\u0437\u0434\u0456\u043b\u0435\u043d\u043d\u044f \u0437\u0430\u043f\u0438\u0442\u0456\u0432 \u0456 \u0434\u043e\u043f\u043e\u043c\u0456\u0436\u043d\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0456\u0439<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.mediadoma.com\/uk\/programuvannja-wordpress-rozdilennja-problem\/\" title=\"\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f WordPress: \u0440\u043e\u0437\u0434\u0456\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\">\u041f\u0440\u043e\u0433\u0440\u0430\u043c\u0443\u0432\u0430\u043d\u043d\u044f WordPress: \u0440\u043e\u0437\u0434\u0456\u043b\u0435\u043d\u043d\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c<\/a><\/li>\n<\/ul>\n<p><div id=\"PostUnique_PostSource\" style=\"padding-top: 50px\">\u0414\u0436\u0435\u0440\u0435\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0443:  <a target=\"_blank\" rel=\"noopener nofollow\" href=\"\/\/tommcfarlin.com\" class=\"external external_icon\">tommcfarlin.com<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0430\u043c\u2019\u044f\u0442\u0430\u0439\u0442\u0435, \u0449\u043e WordPress \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454 \u0448\u0430\u0431\u043b\u043e\u043d \u043f\u0440\u043e\u0435\u043a\u0442\u0443\u0432\u0430\u043d\u043d\u044f, \u043a\u0435\u0440\u043e\u0432\u0430\u043d\u0438\u0439 \u043f\u043e\u0434\u0456\u044f\u043c\u0438, \u0456 \u0445\u043e\u0447\u0430 \u043c\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u043e\u0441\u0438\u043b\u0430\u0454\u043c\u043e\u0441\u044f \u043d\u0430 \u0434\u0456\u0457 \u0442\u0430 \u0444\u0456\u043b\u044c\u0442\u0440\u0438, \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0456\u044f \u0437\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0434\u043e \u0445\u0443\u043a\u0456\u0432. \u041f\u043e\u0442\u0456\u043a \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0447\u0435\u0440\u0435\u0437 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u0443 \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u0449\u043e\u0441\u044c\u2026<\/p>\n","protected":false},"author":1,"featured_media":158739,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[869,839,902,849,923,725],"tags":[1174],"class_list":["post-231708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-10","category-kerivnytstvo-dlia-pochatkivtsiv","category-kod-3","category-pidruchnyky","category-inshyj","category-rozrobnyk","tag-affiai-uk"],"_links":{"self":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/231708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/comments?post=231708"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/231708\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media\/158739"}],"wp:attachment":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media?parent=231708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/categories?post=231708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/tags?post=231708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}