{"id":3301,"date":"2016-10-30T10:49:41","date_gmt":"2016-10-30T10:49:41","guid":{"rendered":"http:\/\/musilda.cz\/?p=3301"},"modified":"2016-10-30T10:49:41","modified_gmt":"2016-10-30T10:49:41","slug":"wp_taxonomy-ve-wordpress-4-7","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/wp_taxonomy-ve-wordpress-4-7\/","title":{"rendered":"WP_Taxonomy ve WordPress 4.7"},"content":{"rendered":"\n
Jedna z novinek, jen\u017e se objevila ve WordPress 4.6, byla t\u0159\u00edda WP_Post_type, jen\u017e zm\u011bnila obsah glob\u00e1ln\u00ed prom\u011bnn\u00e9 $wp_posts_types, na pole objekt\u016f t\u0159\u00eddy WP_Post_type.<\/p>\n\n\n\n
V podobn\u00e9m duchu se pokra\u010duje i ve verzi 4.7, kdy bude p\u0159id\u00e1na nov\u00e1 t\u0159\u00edda WP_Taxonomy a glob\u00e1ln\u00ed prom\u011bnn\u00e1 $wp_taxonomies, bude obsahovat pole objekt\u016f t\u0159\u00eddy WP_Taxonomy.<\/p>\n\n\n\n
Ka\u017ed\u00fd argument taxonomie, bude nyn\u00ed vlastnost t\u0159\u00eddy.<\/p>\n\n\n\n
Funkce get_taxonomy(), bude vracet objekt t\u00e9to t\u0159\u00eddy a n\u011bkter\u00e9 dal\u0161\u00ed funkce, budou nyn\u00ed p\u0159ij\u00edmat object.<\/p>\n\n\n\n
D\u00edky nov\u00e9 t\u0159\u00edd\u011b, bude mo\u017en\u00e9 v budoucnu jednodu\u0161eji a rychleji zav\u00e1d\u011bt zm\u011bny v taxonomi\u00edch, ne\u017e tomu bylo doposud.<\/p>\n","protected":false},"excerpt":{"rendered":"
Jedna z novinek, jen\u017e se objevila ve WordPress 4.6, byla t\u0159\u00edda WP_Post_type, jen\u017e zm\u011bnila obsah glob\u00e1ln\u00ed prom\u011bnn\u00e9 $wp_posts_types, na pole objekt\u016f t\u0159\u00eddy WP_Post_type. V podobn\u00e9m duchu se pokra\u010duje i ve verzi 4.7, kdy bude p\u0159id\u00e1na nov\u00e1 t\u0159\u00edda WP_Taxonomy a glob\u00e1ln\u00ed prom\u011bnn\u00e1 $wp_taxonomies, bude obsahovat pole objekt\u016f t\u0159\u00eddy WP_Taxonomy. Ka\u017ed\u00fd argument taxonomie, bude nyn\u00ed vlastnost t\u0159\u00eddy.<\/p>\n","protected":false},"author":1,"featured_media":8647,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,30],"tags":[469],"class_list":["post-3301","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-novinky","category-wordpress","tag-wordpress-4-7"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/3301"}],"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=3301"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/3301\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/8647"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=3301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=3301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=3301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}