{"id":442,"date":"2022-05-11T21:41:32","date_gmt":"2022-05-11T17:11:32","guid":{"rendered":"https:\/\/wpdone.ir\/docs\/?post_type=help&#038;p=442"},"modified":"2022-05-13T17:24:59","modified_gmt":"2022-05-13T12:54:59","slug":"%d9%82%d9%84%d8%a7%d8%a8-%d9%87%d8%a7%db%8c-%d8%a8%d8%af%d9%86%d9%87-%d8%a7%d8%b5%d9%84%db%8c-%d9%82%d8%a7%d9%84%d8%a8-%d8%a2%d9%85%d9%88%d8%b2%d8%b4%db%8c%d8%a7%d8%b1","status":"publish","type":"help","link":"https:\/\/wpdone.ir\/docs\/help\/%d9%82%d9%84%d8%a7%d8%a8-%d9%87%d8%a7%db%8c-%d8%a8%d8%af%d9%86%d9%87-%d8%a7%d8%b5%d9%84%db%8c-%d9%82%d8%a7%d9%84%d8%a8-%d8%a2%d9%85%d9%88%d8%b2%d8%b4%db%8c%d8%a7%d8%b1\/","title":{"rendered":"\u0628\u062f\u0646\u0647 \u0627\u0635\u0644\u06cc"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">amzshyar_head<\/h2>\n\n\n\n<p>\u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0628\u0627\u0644\u0627\u062a\u0631 \u0627\u0632 <strong>wp_head<\/strong> \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u06a9\u0646\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_action( 'amzshyar_head', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_after_wp_head<\/h2>\n\n\n\n<p>\u0627\u06af\u0631 \u0642\u0631\u0627\u0631 \u0628\u0627\u0634\u062f \u0645\u0637\u0645\u0626\u0646 \u0634\u0648\u06cc\u062f \u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0628\u0639\u062f \u0627\u0632 <strong>wp_head<\/strong> \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u0634\u0648\u0646\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0642\u0644\u0627\u0628 \u0632\u06cc\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_action( 'amzshyar_after_wp_head', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_element_classes<\/h2>\n\n\n\n<p>\u0628\u0647 \u062a\u06af \u0627\u0635\u0644\u06cc \u0642\u0627\u0644\u0628 \u06a9\u0644\u0627\u0633 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u06a9\u0646\u062f\u060c \u0645\u062a\u063a\u06cc\u0631 <strong>classes$<\/strong> \u06a9\u0644\u0627\u0633\u200c\u0647\u0627\u06cc \u0642\u0628\u0644\u06cc \u0631\u0627 \u0647\u0645\u0686\u0646\u0627\u0646 \u062d\u0641\u0638 \u0645\u06cc\u06a9\u0646\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_element_classes', function ( $classes ) {\n    return &quot;$classes new-class-name&quot;;\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_before_body<\/h2>\n\n\n\n<p>\u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0642\u0628\u0644 \u0627\u0632 \u0647\u0631 \u062a\u06af \u062f\u06cc\u06af\u0631\u06cc \u062f\u0631 \u0635\u0641\u062d\u0647 \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u06a9\u0646\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_action( 'amzshyar_before_body', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_after_body<\/h2>\n\n\n\n<p>\u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u062f\u0631 \u0627\u0646\u062a\u0647\u0627\u06cc \u062a\u06af <strong>body<\/strong> \u0642\u0628\u0644 \u0627\u0632 <strong>wp_footer<\/strong> \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u06a9\u0646\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_action( 'amzshyar_after_body', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_after_wp_footer<\/h2>\n\n\n\n<p>\u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u062f\u0642\u06cc\u0642\u0627 \u0628\u0639\u062f \u0627\u0632 <strong>wp_footer<\/strong> \u0627\u0636\u0627\u0641\u0647 \u0645\u06cc\u06a9\u0646\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_action( 'amzshyar_after_wp_footer', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0627\u0633\u062a\u0627\u06cc\u0644\u200c\u0647\u0627\u060c \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a\u200c\u0647\u0627 \u0648 \u062f\u0627\u062f\u0647\u200c\u0647\u0627\u06cc \u0627\u0635\u0644\u06cc \u0631\u0627 \u0645\u062f\u06cc\u0631\u06cc\u062a \u06a9\u0646\u06cc\u062f<\/p>\n","protected":false},"template":"","help-category":[26],"class_list":["post-442","help","type-help","status-publish","hentry","help-category-hooks"],"_links":{"self":[{"href":"https:\/\/wpdone.ir\/docs\/wp-json\/wp\/v2\/help\/442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpdone.ir\/docs\/wp-json\/wp\/v2\/help"}],"about":[{"href":"https:\/\/wpdone.ir\/docs\/wp-json\/wp\/v2\/types\/help"}],"wp:attachment":[{"href":"https:\/\/wpdone.ir\/docs\/wp-json\/wp\/v2\/media?parent=442"}],"wp:term":[{"taxonomy":"help-category","embeddable":true,"href":"https:\/\/wpdone.ir\/docs\/wp-json\/wp\/v2\/help-category?post=442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}