{"id":469,"date":"2022-05-13T14:52:38","date_gmt":"2022-05-13T10:22:38","guid":{"rendered":"https:\/\/wpdone.ir\/docs\/?post_type=help&#038;p=469"},"modified":"2022-06-24T09:47:01","modified_gmt":"2022-06-24T05:17:01","slug":"%d9%be%d9%86%d9%84-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%db%8c","status":"publish","type":"help","link":"https:\/\/wpdone.ir\/docs\/help\/%d9%be%d9%86%d9%84-%da%a9%d8%a7%d8%b1%d8%a8%d8%b1%db%8c\/","title":{"rendered":"\u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u0642\u0644\u0627\u0628 \u0647\u0627\u06cc \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0647 \u0634\u0645\u0627 \u062f\u0631 \u0627\u06cc\u062c\u0627\u062f \u067e\u0646\u0644 \u0633\u0641\u0627\u0631\u0634\u06cc\u200c\u062a\u0631 \u06a9\u0645\u06a9 \u0645\u06cc\u06a9\u0646\u062f<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_login_slug<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062a\u063a\u06cc\u06cc\u0631 \u067e\u06cc\u0648\u0646\u062f \u06cc\u06a9\u062a\u0627 ( slug ) \u0635\u0641\u062d\u0647 \u0648\u0631\u0648\u062f \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc: ( \u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636: site . com \/ login )<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_login_slug', function () {\n    return 'login';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_change_url<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0642\u0627\u0644\u0628 \u062f\u0631\u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u0641\u0639\u0627\u0644 \u0628\u0627\u0634\u062f \u0644\u06cc\u0646\u06a9 \u0647\u0627\u06cc \u0648\u0631\u0648\u062f\u060c \u062b\u0628\u062a \u0646\u0627\u0645 \u0648 \u0641\u0631\u0627\u0645\u0648\u0634\u06cc \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0648\u0631\u062f\u067e\u0631\u0633 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u062f\u0647\u062f. \u062f\u0631\u0635\u0648\u0631\u062a\u06cc \u06a9\u0647 \u062a\u0645\u0627\u06cc\u0644 \u0628\u0647 \u0627\u06cc\u0646 \u06a9\u0627\u0631 \u0646\u062f\u0627\u0631\u06cc\u062f \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0631\u0627 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f :<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_change_url', '__return_false' );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_default_avatar<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062a\u063a\u06cc\u06cc\u0631 \u062a\u0635\u0648\u06cc\u0631 \u0622\u0648\u0627\u062a\u0627\u0631 \u067e\u06cc\u0634\u0641\u0631\u0636 \u06a9\u0627\u0631\u0628\u0631\u0627\u0646:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_default_avatar', function () {\n    return 'https:\/\/your-address...';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_login_remove_header|footer<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 \u0633\u0631\u0628\u0631\u06af \u0648 \u067e\u0627\u0648\u0631\u0642\u06cc \u0627\u0632 \u0635\u0641\u062d\u0647 \u0648\u0631\u0648\u062f \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u062d\u0630\u0641 \u0634\u062f\u0647 \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0633\u0631\u0628\u0631\u06af \u0648 \u067e\u0627\u0648\u0631\u0642\u06cc \u0631\u0627 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_login_remove_header', '__return_false' );\nadd_filter( 'amzshyar_account_login_remove_footer', '__return_false' );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_login_auth_code<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0627\u06cc\u0646 \u0642\u0644\u0627\u0628 \u0628\u0631\u0627\u06cc \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u062f \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u0642\u0627\u0628\u0644 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0633\u062a. \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0646\u0648\u0639 \u0648 \u062a\u0639\u062f\u0627\u062f \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u06a9\u062f\u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">( \u06a9\u062f \u0632\u06cc\u0631 \u06cc\u06a9 \u06a9\u062f \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u06f6 \u0631\u0642\u0645\u06cc \u062a\u0648\u0644\u06cc\u062f \u0645\u06cc\u06a9\u0646\u062f\u200c)<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_login_auth_code', function () {\n    $code = rand( 100000, 999999 );\n    return $code;\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_limit_time<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0632\u0645\u0627\u0646\u06cc\u06a9\u0647 \u062a\u0644\u0627\u0634 \u0647\u0627\u06cc \u0646\u0627 \u0645\u0648\u0641\u0642 \u06a9\u0627\u0631\u0628\u0631 \u0628\u06cc\u0634 \u0627\u0632 \u062d\u062f \u0645\u062c\u0627\u0632 \u0627\u0646\u062c\u0627\u0645 \u0634\u0648\u062f\u060c \u0633\u06cc\u0633\u062a\u0645 \u0628\u0635\u0648\u0631\u062a \u0645\u0648\u0642\u062a \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u0645\u0633\u062f\u0648\u062f \u0645\u06cc\u06a9\u0646\u062f. \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0632\u0645\u0627\u0646 \u0645\u0633\u062f\u0648\u062f\u06cc\u062a \u06a9\u0627\u0631\u0628\u0631 \u0631\u0627 \u0627\u0641\u0632\u0627\u06cc\u0634 \u06cc\u0627 \u06a9\u0627\u0647\u0634 \u062f\u0647\u06cc\u062f:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">( \u062f\u0631 \u06a9\u062f \u0632\u06cc\u0631 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a \u0631\u0648\u06cc \u06f1\u06f2 \u0633\u0627\u0639\u062a \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a )<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_limit_time', function () {\n    return ( 3600 * 12 );\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_login_resend_sms_code_time<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0632\u0645\u0627\u0646 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0627\u0631\u0633\u0627\u0644 \u0645\u062c\u062f\u062f \u067e\u06cc\u0627\u0645\u06a9 \u06a9\u062f \u0641\u0639\u0627\u0644\u0633\u0627\u0632\u06cc \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u062f\u0647\u062f\u060c \u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 \u06f6\u06f0 \u062b\u0627\u0646\u06cc\u0647 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_login_resend_sms_code_time', function () {\n    return 60;\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_pwdset_min_length<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u062f\u0627\u0642\u0644 \u062a\u0639\u062f\u0627\u062f \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0645\u062c\u0627\u0632 \u0628\u0631\u0627\u06cc \u062a\u0646\u0638\u06cc\u0645 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u0645\u06cc\u062f\u0647\u062f\u060c \u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 \u06f6 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_pwdset_min_length', function () {\n    return 6;\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_limit_try<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u062f\u0627\u06a9\u062b\u0631 \u062a\u0639\u062f\u0627\u062f \u0645\u062c\u0627\u0632 \u062a\u0644\u0627\u0634 \u0628\u0631\u0627\u06cc \u0648\u0631\u0648\u062f \u0628\u0647 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc\u060c \u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 \u06f3 \u0628\u0627\u0631 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_limit_try', function () {\n    return 3;\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_avatar_dir<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062a\u063a\u06cc\u06cc\u0631 \u0645\u0633\u06cc\u0631 \u0622\u067e\u0644\u0648\u062f \u0622\u0648\u0627\u062a\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u060c \u062f\u0642\u062a \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062d\u062a\u0645\u0627 \u0628\u0627\u06cc\u062f \u0628\u0635\u0648\u0631\u062a \u0622\u0631\u0627\u06cc\u0647 return \u0634\u0648\u062f. \u0645\u0642\u062f\u0627\u0631 path \u0645\u0633\u06cc\u0631 \u0622\u067e\u0644\u0648\u062f \u0641\u0627\u06cc\u0644 \u0628\u0631\u0627\u06cc \u0633\u06cc\u0633\u062a\u0645 \u0648 \u0645\u0642\u062f\u0627\u0631 url \u0622\u062f\u0631\u0633 \u0642\u0627\u0628\u0644 \u062f\u0633\u062a\u0631\u0633 \u067e\u0648\u0634\u0647 \u0628\u0631\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062a\u0635\u0648\u06cc\u0631 \u0622\u0648\u0627\u062a\u0627\u0631 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_avatar_dir', function () {\n    return &#91;\n        'path' =&gt; WP_CONTENT_DIR . '\/uploads\/users-avatar',\n        'url' =&gt; content_url( 'uploads\/users-avatar\/' )\n    ];\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_avatar_max_size_mb<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062a\u063a\u06cc\u06cc\u0631 \u062d\u062f\u0627\u06a9\u062b\u0631 \u0627\u0646\u062f\u0627\u0632\u0647 \u0645\u062c\u0627\u0632 \u0628\u0631\u0627\u06cc \u0622\u067e\u0644\u0648\u062f \u0622\u0648\u0627\u062a\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u06cc\u060c \u0627\u06cc\u0646 \u0645\u0642\u062f\u0627\u0631 \u0628\u0647 <strong>\u0645\u06af\u0627\u0628\u0627\u06cc\u062a<\/strong> \u0628\u0627\u06cc\u062f \u0648\u0627\u0631\u062f \u0634\u0648\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_avatar_max_size_mb', function () {\n    return 2;\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_avatar_formats<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062a\u063a\u06cc\u06cc\u0631 \u0641\u0631\u0645\u062a \u0647\u0627\u06cc \u0645\u062c\u0627\u0632 \u0628\u0631\u0627\u06cc \u0622\u067e\u0644\u0648\u062f \u0622\u0648\u0627\u062a\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u06cc\u060c \u062e\u0631\u0648\u062c\u06cc \u06cc\u06a9 \u0622\u0631\u0627\u06cc\u0647 \u0628\u0627\u06cc\u062f \u0628\u0627\u0634\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_avatar_formats', function () {\n    return &#91; 'jpg', 'jpeg', 'png' ];\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_avatar_size<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 \u0633\u0627\u06cc\u0632 \u0622\u0648\u0627\u062a\u0627\u0631 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0631\u0648\u06cc \u06f1\u06f0\u06f0 \u062f\u0631 \u06f1\u06f0\u06f0 \u067e\u06cc\u06a9\u0633\u0644 \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0634\u0645\u0627 \u0645\u06cc\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u06cc\u0646 \u0627\u0639\u062f\u0627\u062f \u0631\u0627 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0647\u06cc\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_avatar_size', function () {\n    return &#91; 100, 100 ];\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_account_login_default_code<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062a\u063a\u06cc\u06cc\u0631 \u06a9\u062f \u067e\u06cc\u0634\u0641\u0631\u0636 \u06a9\u0634\u0648\u0631:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_account_login_default_code', function () {\n    return '+98';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_title<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0630\u0641 \u0639\u0646\u0648\u0627\u0646 \u0635\u0641\u062d\u0627\u062a \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_dashboard_title', function ( $status, $key ) {\n    return false;\n}, 10, 2 );\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0646\u06a9\u062a\u0647 \u06f1:<\/strong> \u0645\u062a\u063a\u06cc\u0631 key$ \u0646\u0627\u0645\u06a9 \u0635\u0641\u062d\u0647 \u062c\u0627\u0631\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc\u06af\u0631\u062f\u0627\u0646\u062f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0646\u06a9\u062a\u0647 \u06f2:<\/strong> \u0641\u0642\u0637 \u062f\u0631 \u0635\u0641\u062d\u0627\u062a\u06cc \u06a9\u0627\u0631 \u0645\u06cc\u06a9\u0646\u062f \u06a9\u0647 \u062a\u0648\u0633\u0637 \u0642\u0627\u0644\u0628 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc\u0634\u0648\u0646\u062f<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_top<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0628\u0627\u0644\u0627\u062a\u0631\u06cc\u0646 \u0642\u0633\u0645\u062a \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0642\u0627\u0644\u0628 \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_dashboard_top', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_center<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u0642\u0633\u0645\u062a \u0645\u06cc\u0627\u0646\u06cc \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0642\u0627\u0644\u0628 \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_dashboard_center', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_bottom<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u06a9\u062f\u0647\u0627\u06cc \u0634\u0645\u0627 \u0631\u0627 \u0628\u0647 \u067e\u0627\u06cc\u06cc\u0646\u200c\u062a\u0631\u06cc\u0646 \u0642\u0633\u0645\u062a \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0642\u0627\u0644\u0628 \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_dashboard_bottom', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_items<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0627\u06cc\u0646 \u0642\u0644\u0627\u0628 \u0645\u06cc\u062a\u0648\u0627\u0646\u062f \u06cc\u06a9 \u0622\u06cc\u062a\u0645 \u062c\u062f\u06cc\u062f \u0631\u0627 \u0628\u0647 \u0622\u06cc\u062a\u0645\u200c\u0647\u0627\u06cc \u067e\u06cc\u0634\u062e\u0648\u0627\u0646 \u0627\u0636\u0627\u0641\u0647 \u06a9\u0646\u062f. \u0628\u0635\u0648\u0631\u062a \u06a9\u0644\u06cc \u0628\u0647 \u0627\u06cc\u0646\u0635\u0648\u0631\u062a \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_action( 'amzshyar_dashboard_items', function () {\n    echo 'your code';\n} );\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0645\u062b\u0627\u0644<\/strong>:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_action( 'amzshyar_dashboard_items', function () {\n?&gt;\n&lt;div class=&quot;dashboard-item&quot;&gt;\n    &lt;div class=&quot;dashboard-item-wrapper&quot;&gt;\n        &lt;div class=&quot;dashboard-item-icon&quot;&gt;\n            &lt;svg xmlns=&quot;http:\/\/www.w3.org\/2000\/svg&quot; xmlns:xlink=&quot;http:\/\/www.w3.org\/1999\/xlink&quot; version=&quot;1.1&quot; width=&quot;24&quot; height=&quot;24&quot; viewBox=&quot;0 0 24 24&quot;&gt;&lt;path d=&quot;M12,3L1,9L12,15L21,10.09V17H23V9M5,13.18V17.18L12,21L19,17.18V13.18L12,17L5,13.18Z&quot; \/&gt;&lt;\/svg&gt;\n        &lt;\/div&gt;\n        &lt;div class=&quot;dashboard-item-contents&quot;&gt;\n            &lt;div class=&quot;dashboard-item-title&quot;&gt;\u06f1\u06f2 \u0627\u0645\u062a\u06cc\u0627\u0632&lt;\/div&gt;\n            &lt;div class=&quot;dashboard-item-desc&quot;&gt;\u06a9\u0633\u0628 \u06a9\u0631\u062f\u06cc\u062f&lt;\/div&gt; \n        &lt;\/div&gt;\n    &lt;\/div&gt;\n&lt;\/div&gt;\n&lt;?php\n} );\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u062e\u0631\u0648\u062c\u06cc<\/strong>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"894\" height=\"101\" src=\"https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-10.png\" alt=\"\" class=\"wp-image-473\" srcset=\"https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-10.png 894w, https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-10-300x34.png 300w, https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-10-768x87.png 768w, https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-10-600x68.png 600w\" sizes=\"auto, (max-width: 894px) 100vw, 894px\" \/><\/figure>\n<\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_item_products<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0630\u0641 \u0622\u06cc\u062a\u0645 \u062a\u0639\u062f\u0627\u062f \u06a9\u0644 \u062f\u0648\u0631\u0647\u200c\u0647\u0627\u06cc \u0645\u0648\u062c\u0648\u062f \u062f\u0631 \u0633\u0627\u06cc\u062a:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_dashboard_item_products', '__return_false' );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_item_registrations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0630\u0641 \u0622\u06cc\u062a\u0645 \u062a\u0639\u062f\u0627\u062f \u06a9\u0644 \u062f\u0648\u0631\u0647\u200c\u0647\u0627\u06cc \u062b\u0628\u062a \u0646\u0627\u0645 \u0634\u062f\u0647:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_dashboard_item_registrations', '__return_false' );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_item_unpaid<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0630\u0641 \u0622\u06cc\u062a\u0645 \u062a\u0639\u062f\u0627\u062f \u062f\u0648\u0631\u0647\u200c\u0647\u0627\u06cc \u062f\u0631 \u0627\u0646\u062a\u0638\u0627\u0631 \u067e\u0631\u062f\u0627\u062e\u062a:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_dashboard_item_unpaid', '__return_false' );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_item_wallet<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0630\u0641 \u0622\u06cc\u062a\u0645 \u0645\u0648\u062c\u0648\u062f\u06cc \u06a9\u06cc\u0641 \u067e\u0648\u0644:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_dashboard_item_wallet', '__return_false' );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_add_product_downloads_btn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u0627\u0641\u0632\u0648\u062f\u0646 \u062f\u06a9\u0645\u0647 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0644\u06cc\u0633\u062a \u0645\u062d\u0635\u0648\u0644\u0627\u062a \u062e\u0631\u06cc\u062f\u0627\u0631\u06cc \u0634\u062f\u0647:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"192\" src=\"https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-11.png\" alt=\"\" class=\"wp-image-474\" srcset=\"https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-11.png 671w, https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-11-300x86.png 300w, https:\/\/wpdone.ir\/docs\/wp-content\/uploads\/2022\/05\/image-11-600x172.png 600w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/figure>\n<\/div>\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_add_product_downloads_btns', function ( $btns, $product ) {\n    return $btns . ' &lt;a href=&quot;#&quot; class=&quot;amzshyar-buys-product-item-btn no-after&quot;&gt;\u062f\u06a9\u0645\u0647 \u0633\u0641\u0627\u0631\u0634\u06cc&lt;\/a&gt;';\n}, 10, 2 );\n<\/pre><\/div>\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_notifications_number_display<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062a\u063a\u06cc\u06cc\u0631 \u062a\u0639\u062f\u0627\u062f \u0646\u0645\u0627\u06cc\u0634 \u0627\u0639\u0644\u0627\u0646\u200c\u0647\u0627:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_notifications_number_display', function ( $default ) {\n    return $default;\n} );\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>\u0646\u06a9\u062a\u0647 \u06f1:<\/strong> \u0628\u0635\u0648\u0631\u062a \u067e\u06cc\u0634\u0641\u0631\u0636 -1 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0645\u06cc\u0634\u0648\u062f \u0628\u0631\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062a\u0645\u0627\u0645 \u0627\u0639\u0644\u0627\u0646\u0627\u062a\u200c<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u0646<strong>\u06a9\u062a\u0647 \u06f2:<\/strong> \u0628\u0627\u062a\u0648\u062c\u0647 \u0628\u0647 cache \u0634\u062f\u0646 \u0627\u0639\u0644\u0627\u0646\u0627\u062a \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647 \u0628\u0639\u062f \u0627\u0632 \u0642\u0631\u0627\u0631 \u062f\u0627\u062f\u0646 \u0642\u0644\u0627\u0628 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0627\u0639\u0645\u0627\u0644 \u0646\u0634\u0648\u062f<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">amzshyar_dashboard_notifications_date<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u062d\u0630\u0641 \u0632\u0645\u0627\u0646 \u0627\u0646\u062a\u0634\u0627\u0631 \u0627\u0639\u0644\u0627\u0646\u0627\u062a:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\nadd_filter( 'amzshyar_dashboard_notifications_date', '__return_false' );\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\u0642\u0644\u0627\u0628 \u0647\u0627\u06cc \u067e\u0646\u0644 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0647 \u0634\u0645\u0627 \u062f\u0631 \u0627\u06cc\u062c\u0627\u062f \u067e\u0646\u0644 \u0633\u0641\u0627\u0631\u0634\u06cc\u200c\u062a\u0631 \u06a9\u0645\u06a9 \u0645\u06cc\u06a9\u0646\u062f<\/p>\n","protected":false},"template":"","help-category":[26],"class_list":["post-469","help","type-help","status-publish","hentry","help-category-hooks"],"_links":{"self":[{"href":"https:\/\/wpdone.ir\/docs\/wp-json\/wp\/v2\/help\/469","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=469"}],"wp:term":[{"taxonomy":"help-category","embeddable":true,"href":"https:\/\/wpdone.ir\/docs\/wp-json\/wp\/v2\/help-category?post=469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}