{"id":730,"date":"2013-07-05T08:49:23","date_gmt":"2013-07-05T08:49:23","guid":{"rendered":"http:\/\/musilda.cz\/?p=730"},"modified":"2013-07-05T08:49:23","modified_gmt":"2013-07-05T08:49:23","slug":"funkce-wp_lostpassword","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/funkce-wp_lostpassword\/","title":{"rendered":"Funkce wp_lostpassword"},"content":{"rendered":"
Tato funkce pat\u0159\u00ed do skupiny template tag\u016f, kter\u00e9 WordPress pou\u017e\u00edv\u00e1 pro v\u00fdpis prvk\u016f v \u0161ablon\u011b. Funkce wp_lostpassword() vypisuje odkaz na url, kter\u00e1 umo\u017e\u0148uje obnoven\u00ed zapomenut\u00e9ho hesla. M\u00e1 jedin\u00fd parametr, kter\u00fd ur\u010duje url, kam bude po obnov\u011b hesla u\u017eivatel p\u0159esm\u011brov\u00e1n.\u00a0<\/p>\n
Pou\u017eit\u00ed:<\/p>\n
\necho wp_lostpassword_url( $redirect );\n<\/pre>\nParametr $redirect ur\u010duje url, kam bude u\u017eivatel p\u0159esm\u011brov\u00e1n, pou\u017eit\u00ed je nepovinn\u00e9 a defaultn\u011b je hodnota nastavena na none.<\/p>\n
P\u0159\u00edklad:<\/p>\n
\n<a href="\"\ntitle=\"Lost Password\">Lost Password<\/a>\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Tato funkce pat\u0159\u00ed do skupiny template tag\u016f, kter\u00e9 WordPress pou\u017e\u00edv\u00e1 pro v\u00fdpis prvk\u016f v \u0161ablon\u011b. Funkce wp_lostpassword() vypisuje odkaz na url, kter\u00e1 umo\u017e\u0148uje obnoven\u00ed zapomenut\u00e9ho hesla. M\u00e1 jedin\u00fd parametr, kter\u00fd ur\u010duje url, kam bude po obnov\u011b hesla u\u017eivatel p\u0159esm\u011brov\u00e1n.\u00a0<\/p>\n","protected":false},"author":1,"featured_media":8523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,22],"tags":[],"class_list":["post-730","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codex","category-template-tags"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/730"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=730"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/730\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/8523"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=730"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=730"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=730"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}