{"id":26357,"date":"2021-06-28T12:36:25","date_gmt":"2021-06-28T08:06:25","guid":{"rendered":"https:\/\/zardis.net\/news\/?p=26357"},"modified":"2021-06-28T12:36:25","modified_gmt":"2021-06-28T08:06:25","slug":"%d8%a7%d9%81%d8%b2%d9%88%d8%af%d9%86%d8%8c%d8%ad%d8%b0%d9%81-%da%a9%d8%b1%d8%af%d9%86-%d9%88-%d8%b4","status":"publish","type":"post","link":"https:\/\/zardis.net\/news\/26357\/%d8%a7%d9%81%d8%b2%d9%88%d8%af%d9%86%d8%8c%d8%ad%d8%b0%d9%81-%da%a9%d8%b1%d8%af%d9%86-%d9%88-%d8%b4\/","title":{"rendered":"\u0627\u0641\u0632\u0648\u062f\u0646\u060c\u062d\u0630\u0641 \u06a9\u0631\u062f\u0646 \u0648 \u0634\u062e\u0635\u06cc \u0633\u0627\u0632\u06cc \u0632\u0628\u0627\u0646\u0647 \u06cc\u0627 \u062a\u0628\u200c\u0647\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0645\u062d\u0635\u0648\u0644 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633"},"content":{"rendered":"<p>\u06af\u0627\u0647\u06cc \u0627\u0648\u0642\u0627\u062a \u062f\u0631 \u062a\u0645\u200c\u0647\u0627\u06cc \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0644\u0627\u0632\u0645\u0647 \u06a9\u0647 \u0646\u0627\u0645 \u062a\u0628\u200c\u0647\u0627 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0635\u0641\u062d\u0647 \u0645\u062d\u0635\u0648\u0644 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u0645. \u0645\u062b\u0644\u0627 \u0627\u06af\u0631 \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u06a9\u0633\u0628 \u0648 \u06a9\u0627\u0631\u06cc \u062f\u0631 \u062d\u0648\u0632\u0647\u200c\u06cc \u0641\u0631\u0648\u0634 \u0645\u0627\u0634\u06cc\u0646 \u0641\u0639\u0627\u0644\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u0647 \u0648\u0628 \u0633\u0627\u06cc\u062a \u0637\u0631\u0627\u062d\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0634\u0627\u06cc\u062f \u0645\u0634\u062a\u0631\u06cc \u0634\u0645\u0627 \u062f\u0648\u0633\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u0628\u0631\u0627\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u062c\u0632\u0626\u06cc\u0627\u062a \u0645\u0627\u0634\u06cc\u0646 \u0627\u0632 \u0622\u067e\u0634\u0646\u200c\u0647\u0627 \u06cc\u0627 \u062d\u0632\u0626\u06cc\u0627\u062a \u0645\u0627\u0634\u06cc\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u0647 \u0648 \u06cc\u0627 \u062d\u062a\u06cc \u06cc\u06a9\u06cc \u0627\u0632 \u062a\u0628\u200c\u0647\u0627 \u0631\u0627 \u062d\u0630\u0641 \u06a9\u0646\u0647. \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u062a\u0648\u0646\u06cc\u062f \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0628\u0627 \u06cc\u06a9 \u067e\u0627\u0631\u0627\u0645\u062a\u0631 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0622\u0646 \u062a\u0627\u0628\u0639 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u0631\u0648\u06cc \u0622\u0631\u0627\u06cc\u0647\u200c\u06cc \u0648\u0631\u0648\u062f\u06cc \u06a9\u0647 \u0647\u0645\u0627\u0646 \u062a\u0628\u200c\u0647\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0627\u0633\u062a \u0631\u0627 \u0627\u0639\u0645\u0627\u0644 \u0648 \u062a\u0627\u0628\u0639 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u062f\u0631 \u0641\u06cc\u0644\u062a\u0631 woocommerce_product_tabs \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0646\u0645\u0627\u0626\u06cc\u062f.<\/p>\n<p>\u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0627\u06cc\u0646 \u06a9\u062f\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0641\u0627\u06cc\u0644 functions.php \u062a\u0645 \u062e\u0648\u062f \u0642\u0631\u0627\u0631 \u062f\u0647\u06cc\u062f \u0627\u06af\u0631 \u062a\u0645 \u0634\u0645\u0627 \u0631\u0627 \u0634\u0631\u06a9\u062a \u062f\u06cc\u06af\u0631\u06cc \u0637\u0631\u0627\u062d\u06cc \u06a9\u0631\u062f\u0647 \u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062d\u0630\u0641 \u06a9\u062f\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0628\u0647 \u062a\u0627\u0628\u0639 functions.php \u0628\u0647\u062a\u0631 \u0627\u0633\u062a \u06cc\u06a9 \u062a\u0645 \u0641\u0631\u0632\u0646\u062f \u0627\u0632 \u0642\u0627\u0644\u0628 \u06cc\u0627 \u062a\u0645 \u0627\u0635\u0644\u06cc \u0627\u06cc\u062c\u0627\u062f \u0646\u0645\u0627\u0626\u06cc\u062f \u0648 \u06cc\u0627 \u06a9\u062f\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0641\u0632\u0648\u0646\u0647\u200c\u06cc\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/code-snippets\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Code Snippets<\/a>\u00a0\u0628\u0647 \u0642\u0627\u0644\u0628 \u062e\u0648\u062f \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u0626\u06cc\u062f.<\/p>\n<h2>\u062d\u0630\u0641 \u062a\u0628\u200c\u0647\u0627\u06cc \u0645\u062d\u0635\u0648\u0644 \u062f\u0631 \u0642\u0627\u0644\u0628 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633<\/h2>\n<p>\u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u062a\u0628 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u062f\u0631 \u062a\u0627\u0628\u0639\u06cc \u06a9\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u062f \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0627\u0628\u0639 unset \u062d\u0630\u0641 \u0646\u0645\u0627\u0626\u06cc\u062f.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/**\r\n * Remove product data tabs\r\n *\/\r\nadd_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );\r\n\r\nfunction woo_remove_product_tabs( $tabs ) {\r\n\r\n    unset( $tabs&#x5B;'description'] );      \t\/\/ Remove the description tab\r\n    unset( $tabs&#x5B;'reviews'] ); \t\t\t\/\/ Remove the reviews tab\r\n    unset( $tabs&#x5B;'additional_information'] );  \t\/\/ Remove the additional information tab\r\n\r\n    return $tabs;\r\n}\r\n<\/pre>\n<p>\u062a\u063a\u06cc\u06cc\u0631 \u0646\u0627\u0645 \u062a\u0628 \u0647\u0627\u06cc \u0645\u062d\u0635\u0648\u0644 \u062f\u0631 \u0642\u0627\u0644\u0628 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633<br \/>\n\u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u0646\u0627\u0645 title \u0622\u0631\u0627\u06cc\u0647\u200c\u06cc \u062a\u0628\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 \u062a\u0627\u0628\u0639\u06cc \u06a9\u0647 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u06cc\u062f \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/**\r\n * Rename product data tabs\r\n *\/\r\nadd_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );\r\nfunction woo_rename_tabs( $tabs ) {\r\n\r\n\t$tabs&#x5B;'description']&#x5B;'title'] = __( 'More Information' );\t\t\/\/ Rename the description tab\r\n\t$tabs&#x5B;'reviews']&#x5B;'title'] = __( 'Ratings' );\t\t\t\t\/\/ Rename the reviews tab\r\n\t$tabs&#x5B;'additional_information']&#x5B;'title'] = __( 'Product Data' );\t\/\/ Rename the additional information tab\r\n\r\n\treturn $tabs;\r\n\r\n}\r\n<\/pre>\n<p>\u062a\u063a\u06cc\u06cc\u0631 \u0686\u06cc\u062f\u0645\u0627\u0646 \u062a\u0628\u200c\u0647\u0627 \u062f\u0631 \u0645\u062d\u0635\u0648\u0644 \u062f\u0631 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633<br \/>\n\u062c\u0647\u062a \u0627\u06cc\u062c\u0627\u062f \u062a\u063a\u06cc\u06cc\u0631 \u0686\u06cc\u062f\u0645\u0627\u0646 \u062a\u0628\u200c\u0647\u0627 \u0627\u0648\u0644\u0648\u06cc\u062a \u062a\u0628\u200c\u0647\u0627 \u0631\u0627 \u062f\u0631 \u0622\u0631\u0627\u06cc\u0647\u200c\u06cc \u0648\u0631\u0648\u062f\u06cc \u062a\u0627\u0628\u0639 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/**\r\n * Reorder product data tabs\r\n *\/\r\nadd_filter( 'woocommerce_product_tabs', 'woo_reorder_tabs', 98 );\r\nfunction woo_reorder_tabs( $tabs ) {\r\n\r\n\t$tabs&#x5B;'reviews']&#x5B;'priority'] = 5;\t\t\t\/\/ Reviews first\r\n\t$tabs&#x5B;'description']&#x5B;'priority'] = 10;\t\t\t\/\/ Description second\r\n\t$tabs&#x5B;'additional_information']&#x5B;'priority'] = 15;\t\/\/ Additional information third\r\n\r\n\treturn $tabs;\r\n}\r\n<\/pre>\n<p>\u0634\u062e\u0635\u06cc \u0633\u0627\u0632\u06cc \u062a\u0628\u200c\u0647\u0627\u06cc \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u062f\u0631 \u0635\u0641\u062d\u0647\u200c\u06cc \u0645\u062d\u0635\u0648\u0644<br \/>\n\u0628\u0631\u0627\u06cc \u0634\u062e\u0635\u06cc \u0633\u0627\u0632\u06cc \u062a\u0628\u200c\u0647\u0627\u06cc \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u062f\u0631 \u0635\u0641\u062d\u0647\u200c\u06cc \u0645\u062d\u0635\u0648\u0644 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u062a\u0627\u0628\u0639 \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u062a\u0627\u0628\u0639 \u062f\u06cc\u06af\u0631\u06cc \u0631\u0627 \u0628\u0647 callback \u062a\u0628 \u0645\u0648\u0631\u062f \u0646\u0637\u0631 \u062a\u062e\u0635\u06cc\u0635 \u062f\u0647\u06cc\u062f \u0648 \u0633\u067e\u0633 \u062a\u0627\u0628\u0639 \u062f\u0648\u0645 \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f \u0648 \u0645\u062d\u062a\u0648\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0686\u0627\u067e \u06a9\u0646\u06cc\u062f.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/**\r\n * Customize product data tabs\r\n *\/\r\nadd_filter( 'woocommerce_product_tabs', 'woo_custom_description_tab', 98 );\r\nfunction woo_custom_description_tab( $tabs ) {\r\n\r\n\t$tabs&#x5B;'description']&#x5B;'callback'] = 'woo_custom_description_tab_content';\t\/\/ Custom description callback\r\n\r\n\treturn $tabs;\r\n}\r\n\r\nfunction woo_custom_description_tab_content() {\r\n\techo '&lt;h2&gt;Custom Description&lt;\/h2&gt;';\r\n\techo '&lt;p&gt;Here\\'s a custom description&lt;\/p&gt;';\r\n}\r\n<\/pre>\n<p>\u0627\u0641\u0632\u0648\u062f\u0646 \u062a\u0628 \u062c\u062f\u06cc\u062f \u062f\u0631 \u0635\u0641\u062d\u0647\u200c\u06cc \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0648\u0648\u06a9\u0627\u0645\u0631\u0633<br \/>\n\u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u06a9\u0647 \u06cc\u06a9 \u062a\u0628 \u0628\u0647 \u062a\u0628\u0647\u0627\u06cc \u0645\u062d\u0635\u0648\u0644 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u06cc\u062f \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0646\u06cc\u062f \u0648 \u062f\u0631 \u0627\u06cc\u0646 \u062a\u0627\u0628\u0639 \u06cc\u06a9 \u0639\u0636\u0648 \u062f\u06cc\u06af\u0631 \u0628\u0647 \u0622\u0631\u0627\u06cc\u0647\u200c\u06cc tabs \u0627\u0636\u0627\u0641\u0647 \u0646\u0645\u0627\u0626\u06cc\u062f. \u0639\u0636\u0648 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0628\u0627\u06cc\u062f \u06cc\u06a9 \u0622\u0631\u0627\u06cc\u0647 \u0628\u0627\u0634\u062f \u06a9\u0647 \u0634\u0627\u0645\u0644 \u0633\u0647 \u0639\u0636\u0648 \u0627\u0633\u062a \u06a9\u0647 \u0639\u0628\u0627\u0631\u062a\u0646\u062f \u0627\u0631 title \u06a9\u0647 \u0639\u0646\u0648\u0627\u0646 \u062a\u0628 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0627\u0633\u062a\u060c priority \u062a\u0639\u06cc\u06cc\u0646 \u06a9\u0646\u0646\u062f\u0647\u200c\u06cc \u0646\u062d\u0648\u0647\u200c\u06cc \u0686\u06cc\u062f\u0645\u0627\u0646 \u062a\u0628 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0648 callback \u062a\u0627\u0628\u0639\u06cc \u06a9\u0647 \u0645\u062d\u062a\u0648\u06cc \u062a\u0628 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0631\u0627 \u062a\u0648\u0644\u06cc\u062f \u0648 \u0686\u0627\u067e \u0645\u06cc\u200c\u06a9\u0646\u062f. \u0633\u067e\u0633 \u062a\u0627\u0628\u0639 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u062f\u0631 \u0639\u0636\u0648 callback \u0631\u0627 \u062a\u0639\u0631\u06cc\u0641 \u06a9\u0631\u062f\u0647 \u0648 \u0645\u062d\u062a\u0648\u0627\u06cc \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u0622\u0646 \u0686\u0627\u067e \u0646\u0645\u0627\u0626\u06cc\u062f.<\/p>\n<p>\u062a\u06a9\u0647 \u06a9\u062f \u0632\u06cc\u0631 \u0627\u06cc\u0646 \u06a9\u0627\u0631\u0647\u0627 \u0631\u0627 \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f:<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/**\r\n * Add a custom product data tab\r\n *\/\r\nadd_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );\r\nfunction woo_new_product_tab( $tabs ) {\r\n\t\r\n\t\/\/ Adds the new tab\r\n\t\r\n\t$tabs&#x5B;'test_tab'] = array(\r\n\t\t'title' \t=&gt; __( 'New Product Tab', 'woocommerce' ),\r\n\t\t'priority' \t=&gt; \u06f5\u06f0,\r\n\t\t'callback' \t=&gt; 'woo_new_product_tab_content'\r\n\t);\r\n\r\n\treturn $tabs;\r\n\r\n}\r\nfunction woo_new_product_tab_content() {\r\n\r\n\t\/\/ The new tab content\r\n\r\n\techo '&lt;h2&gt;New Product Tab&lt;\/h2&gt;';\r\n\techo '&lt;p&gt;Here\\'s your new product tab.&lt;\/p&gt;';\r\n\t\r\n}\r\n<\/pre>\n<p>\u062a\u0628 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0627\u0636\u0627\u0641\u06cc<br \/>\n\u0627\u06cc\u0646 \u062a\u0628 \u062f\u0631 \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0632\u0645\u0627\u0646\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u06a9\u0647 \u0645\u062d\u0635\u0648\u0644 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0634\u0627\u0645\u0644 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648\u0632\u0646\u060c \u0627\u0646\u062f\u0627\u0632\u0647 \u0648 \u06cc\u0627 \u0634\u0627\u0645\u0644 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631\u06cc \u0628\u0627\u0634\u062f \u06a9\u0647 \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647\u200c\u06cc \u0645\u062d\u0635\u0648\u0644 \u0642\u0627\u0628\u0644 \u0646\u0645\u0627\u06cc\u0634 \u0627\u0633\u062a. \u062f\u0631 \u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0645\u062d\u0635\u0648\u0644 \u0645\u0648\u0631\u062f \u0646\u0638\u0631 \u0634\u0627\u0645\u0644 \u0647\u06cc\u0686 \u06cc\u06a9 \u0627\u0632 \u0645\u0648\u0627\u0631\u062f \u0645\u0630\u06a9\u0648\u0631 \u0646\u0628\u0627\u0634\u062f \u0645\u0648\u0642\u0639 \u0634\u062e\u0635\u06cc \u0633\u0627\u0632\u06cc \u0627\u06cc\u0646 \u062a\u0628 \u062e\u0637\u0627\u06cc \u0632\u06cc\u0631 \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0645\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<p>Warning: call_user_func() expects parameter 1 to be a valid callback, no array or string given in \/mysite\/wp-content\/plugins\/woocommerce\/templates\/single-product\/tabs\/tabs.php on line \u06f3\u06f5<\/p>\n<p>\u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0646 \u062e\u0637\u0627 \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0648\u062c\u0648\u062f \u0648 \u0639\u062f\u0645 \u0648\u062c\u0648\u062f \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc \u0645\u062d\u0635\u0648\u0644 \u0631\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0648\u0627\u0628\u0639 \u0632\u06cc\u0631 \u0686\u06a9 \u0646\u0645\u0627\u0626\u06cc\u062f.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nhas_attributes()\r\nhas_dimensions()\r\nhas_weight()\r\n<\/pre>\n<p>\u0627\u0648\u0644\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0686\u06a9 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062a\u0648\u0633\u0637 \u06a9\u0627\u0631\u0628\u0631 \u0628\u0647 \u0645\u062d\u0635\u0648\u0644 \u0627\u0636\u0627\u0641\u0647 \u0634\u062f\u0647 \u0631\u0627 \u0686\u06a9 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u062f\u0648\u0645\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0648\u062c\u0648\u062f \u0627\u0646\u062f\u0627\u0632\u0647\u200c\u0647\u0627\u06cc \u0631\u0627 \u0628\u0628\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0633\u0648\u0645\u06cc\u0646 \u062a\u0627\u0628\u0639 \u0648\u062c\u0648\u062f \u0648\u0632\u0646 \u0645\u062d\u0635\u0648\u0644 \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u06a9\u0631\u062f\u0647 \u0648 \u0627\u06af\u0631 \u0648\u06cc\u0698\u06af\u06cc\u200c\u0647\u0627 \u0645\u0648\u062c\u0648\u062f \u0628\u0627\u0634\u062f true \u0648 \u062f\u0631 \u063a\u06cc\u0631 \u0627\u06cc\u0646 \u0635\u0648\u0631\u062a false \u0628\u0631 \u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<p>\u0628\u0647 \u067e\u06cc\u0627\u062f\u0647 \u0633\u0627\u0632\u06cc \u0627\u06cc\u0646 \u0631\u0648\u0634 \u062f\u0631 \u06a9\u062f \u0632\u06cc\u0631 \u062f\u0642\u062a \u0646\u0645\u0627\u0626\u06cc\u062f.<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\/**\r\n * Check if product has attributes, dimensions or weight to override the call_user_func() expects parameter 1 to be a valid callback error when changing the additional tab\r\n *\/\r\nadd_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 );\r\n\r\nfunction woo_rename_tabs( $tabs ) {\r\n\r\n\tglobal $product;\r\n\t\r\n\tif( $product-&gt;has_attributes() || $product-&gt;has_dimensions() || $product-&gt;has_weight() ) { \/\/ Check if product has attributes, dimensions or weight\r\n\t\t$tabs&#x5B;'additional_information']&#x5B;'title'] = __( 'Product Data' );\t\/\/ Rename the additional information tab\r\n\t}\r\n \r\n\treturn $tabs;\r\n \r\n} \r\n<\/pre>\n<p>\u0645\u0646\u0628\u0639: woocommerce.com<\/p>\n<script type=\"application\/ld+json\">\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\"@context\": \"http:\/\/schema.org\",\n\t\t\t\t\t\t\t\t\"@type\": \"Product\",\n\t\t\t\t\t\t\t\t\"aggregateRating\": {\n\t\t\t\t\t\t\t\t\"@type\": \"AggregateRating\",\n\t\t\t\t\t\t\t\t\"bestRating\": \"5\",\n\t\t\t\t\t\t\t\t\"ratingCount\": \"2\",\n\t\t\t\t\t\t\t\t\"ratingValue\": \"5\"\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\"image\": \"\",\n\t\t\t\t\t\t\t\t\"name\": \"\u0627\u0641\u0632\u0648\u062f\u0646\u060c\u062d\u0630\u0641 \u06a9\u0631\u062f\u0646 \u0648 \u0634\u062e\u0635\u06cc \u0633\u0627\u0632\u06cc \u0632\u0628\u0627\u0646\u0647 \u06cc\u0627 \u062a\u0628\u200c\u0647\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0645\u062d\u0635\u0648\u0644 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633\",\n\t\t\t\t\t\t\t\t\"description\": \"\u0627\u0641\u0632\u0648\u062f\u0646\u060c\u062d\u0630\u0641 \u06a9\u0631\u062f\u0646 \u0648 \u0634\u062e\u0635\u06cc \u0633\u0627\u0632\u06cc \u0632\u0628\u0627\u0646\u0647 \u06cc\u0627 \u062a\u0628\u200c\u0647\u0627 \u062f\u0631 \u0635\u0641\u062d\u0647 \u0645\u062d\u0635\u0648\u0644 \u0648\u0648\u06a9\u0627\u0645\u0631\u0633\"\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t<\/script>","protected":false},"excerpt":{"rendered":"<p>\u06af\u0627\u0647\u06cc \u0627\u0648\u0642\u0627\u062a \u062f\u0631 \u062a\u0645\u200c\u0647\u0627\u06cc \u0648\u0648\u06a9\u0627\u0645\u0631\u0633 \u0644\u0627\u0632\u0645\u0647 \u06a9\u0647 \u0646\u0627\u0645 \u062a\u0628\u200c\u0647\u0627 \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0635\u0641\u062d\u0647 \u0645\u062d\u0635\u0648\u0644 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0628\u062f\u06cc\u0645. \u0645\u062b\u0644\u0627 \u0627\u06af\u0631 \u0634\u0645\u0627 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u06a9\u0633\u0628 \u0648 \u06a9\u0627\u0631\u06cc \u062f\u0631 \u062d\u0648\u0632\u0647\u200c\u06cc \u0641\u0631\u0648\u0634 \u0645\u0627\u0634\u06cc\u0646 \u0641\u0639\u0627\u0644\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u0647 \u0648\u0628 \u0633\u0627\u06cc\u062a \u0637\u0631\u0627\u062d\u06cc \u0645\u06cc\u200c\u06a9\u0646\u06cc\u062f \u0634\u0627\u06cc\u062f \u0645\u0634\u062a\u0631\u06cc \u0634\u0645\u0627 \u062f\u0648\u0633\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u0628\u0631\u0627\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0648 \u062c\u0632\u0626\u06cc\u0627\u062a \u0645\u0627\u0634\u06cc\u0646 \u0627\u0632 \u0622\u067e\u0634\u0646\u200c\u0647\u0627 \u06cc\u0627 \u062d\u0632\u0626\u06cc\u0627\u062a [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[3003],"tags":[],"class_list":["post-26357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp"],"acf":[],"_links":{"self":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/posts\/26357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/comments?post=26357"}],"version-history":[{"count":0,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/posts\/26357\/revisions"}],"wp:attachment":[{"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/media?parent=26357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/categories?post=26357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zardis.net\/news\/wp-json\/wp\/v2\/tags?post=26357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}