{"id":14256,"date":"2024-01-05T01:26:47","date_gmt":"2024-01-04T22:26:47","guid":{"rendered":"https:\/\/elzero.org\/?p=14256"},"modified":"2024-01-05T01:26:47","modified_gmt":"2024-01-04T22:26:47","slug":"wordpress-show-user-registeration-date","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/wordpress-show-user-registeration-date\/","title":{"rendered":"\u0634\u0631\u062d \u0625\u0638\u0647\u0627\u0631 \u062a\u0627\u0631\u064a\u062e \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645 \u0641\u064a WordPress"},"content":{"rendered":"<div class=\"text\">\r\n\u0646\u062d\u062a\u0627\u062c \u0647\u0646\u0627 \u0644\u0625\u0638\u0647\u0627\u0631 \u062a\u0627\u0631\u064a\u062e \u0627\u0644\u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u062e\u0627\u0635 \u0628\u0627\u0644\u0639\u0636\u0648 \u0645\u062b\u0644\u0627 \u0641\u064a \u0635\u0641\u062d\u0629 \u0645\u062b\u0644 \u0635\u0641\u062d\u0629 \u0627\u0644 author.php \u0648\u0625\u0644\u064a\u0643 \u0627\u0644 Code \u0645\u0639 \u0634\u0631\u062d \u0643\u0644 \u0633\u0637\u0631\r\n<\/div>\r\n\r\n<div class=\"text\">\r\n\u062c\u0644\u0628 \u0627\u0644 ID \u0627\u0644\u062e\u0627\u0635 \u0628\u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645\r\n<\/div>\r\n\r\n<script type=\"text\/plain\" class=\"language-php\">\r\n\/\/ Get The Author's ID\r\n$author_id = get_the_author_meta('ID');\r\n<\/script>\r\n\r\n<div class=\"text\">\r\n\u062c\u0644\u0628 \u0627\u0644\u062a\u0627\u0631\u064a\u062e \u0627\u0644\u062e\u0627\u0635 \u0628\u0627\u0644\u062a\u0633\u062c\u064a\u0644 \u0639\u0646 \u0637\u0631\u064a\u0642 get_the_author_meta Function\r\n<\/div>\r\n\r\n<script type=\"text\/plain\" class=\"language-php\">\r\n\/\/ Get The Author's Registration Date\r\n$registration_date = get_the_author_meta('user_registered', $author_id);\r\n<\/script>\r\n\r\n<div class=\"text\">\r\n\u0639\u0645\u0644 \u062a\u0646\u0633\u064a\u0642 \u0648\u062a\u0631\u062c\u0645\u0629 \u0644\u0644\u062a\u0627\u0631\u064a\u062e \u0648\u0627\u0644 Function <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/date_i18n\/\" rel=\"noopener\" target=\"_blank\">date_i18n<\/a> \u0644\u0639\u0631\u0636 \u0627\u0644\u062a\u0627\u0631\u064a\u062e \u0628\u0644\u063a\u0629 \u0627\u0644\u0645\u0648\u0642\u0639\r\n<\/div>\r\n\r\n<script type=\"text\/plain\" class=\"language-php\">\r\n\/\/ Format The Date\r\n$formatted_date = date_i18n(get_option('date_format'), strtotime($registration_date));\r\n<\/script>\r\n\r\n<div class=\"text\">\r\n\u0637\u0628\u0627\u0639\u0629 \u0627\u0644\u062a\u0627\u0631\u064a\u062e\r\n<\/div>\r\n\r\n<script type=\"text\/plain\" class=\"language-php\">\r\n\/\/ Display The Registration Date\r\necho 'Author Registration Date: ' . esc_html($formatted_date);\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u0625\u0638\u0647\u0627\u0631 \u062a\u0627\u0631\u064a\u062e \u062a\u0633\u062c\u064a\u0644 \u0627\u0644\u0645\u0633\u062a\u062e\u062f\u0645<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[526],"tags":[],"class_list":["post-14256","post","type-post","status-publish","format-standard","hentry","category-wordpress-tutorials"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/comments?post=14256"}],"version-history":[{"count":1,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14256\/revisions"}],"predecessor-version":[{"id":14257,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14256\/revisions\/14257"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=14256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=14256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=14256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}