{"id":1103,"date":"2013-09-14T18:50:30","date_gmt":"2013-09-14T18:50:30","guid":{"rendered":"http:\/\/musilda.cz\/?p=1103"},"modified":"2013-09-14T18:50:30","modified_gmt":"2013-09-14T18:50:30","slug":"funkce-delete_get_calendar_cache","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/funkce-delete_get_calendar_cache\/","title":{"rendered":"Funkce delete_get_calendar_cache"},"content":{"rendered":"
Funkce delete_get_calendar_cache() d\u011bl\u00e1 p\u0159esn\u011b to co je v jej\u00edm n\u00e1zvu. Ostatn\u011b to je na WordPressu hezk\u00e9, pojmenov\u00e1n\u00ed funkc\u00ed je pom\u011brn\u011b intuitivn\u00ed. Kdy\u017e budete popis funkce hledat v Codexu, nenajdete ho. Tak\u017ee takov\u00e1 men\u0161\u00ed premi\u00e9ra zde na musilda.cz.<\/p>\n
Funkce je to jednoduch\u00e1, v podstat\u011b je to wrap pro funkci wp_cache_delete, kter\u00e1 p\u0159ij\u00edm\u00e1 dva argumenty – $key a $groups. Vol\u00e1n\u00ed pak vypad\u00e1 takto\u00a0wp_cache_delete( ‚get_calendar‘, ‚calendar‘ ); a vyma\u017ee tedy cache kalend\u00e1\u0159e.<\/p>\n
Funkce je je\u0161t\u011b p\u0159i\u0159azena ke \u010dty\u0159em akc\u00edm:<\/p>\n
Delete_get_calendar_cache() nem\u00e1 \u017e\u00e1dn\u00e9 argumenty a prost\u011b jen vyma\u017ee cache kalend\u00e1\u0159e.<\/p>\n","protected":false},"excerpt":{"rendered":"
Funkce delete_get_calendar_cache() d\u011bl\u00e1 p\u0159esn\u011b to co je v jej\u00edm n\u00e1zvu. Ostatn\u011b to je na WordPressu hezk\u00e9, pojmenov\u00e1n\u00ed funkc\u00ed je pom\u011brn\u011b intuitivn\u00ed. Kdy\u017e budete popis funkce hledat v Codexu, nenajdete ho. Tak\u017ee takov\u00e1 men\u0161\u00ed premi\u00e9ra zde na musilda.cz. Funkce je to jednoduch\u00e1, v podstat\u011b je to wrap pro funkci wp_cache_delete, kter\u00e1 p\u0159ij\u00edm\u00e1 dva argumenty – $key<\/p>\n","protected":false},"author":1,"featured_media":8523,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[7,22],"tags":[114],"class_list":["post-1103","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codex","category-template-tags","tag-delete_get_calendar_cache"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1103"}],"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=1103"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/1103\/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=1103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=1103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=1103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}