{"id":370,"date":"2018-11-13T07:14:12","date_gmt":"2018-11-13T06:14:12","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-pdf-catalog\/?post_type=faq&#038;p=370"},"modified":"2024-05-15T11:15:49","modified_gmt":"2024-05-15T09:15:49","slug":"pdf-catalog-data-filters","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/fr\/base-de-connaissances\/faq\/pdf-catalog-data-filters\/","title":{"rendered":"Donn\u00e9es du catalogue PDF &#038;amp ; Filtres HTML pour les donn\u00e9es d&#8217;affichage personnalis\u00e9es"},"content":{"rendered":"<p>Des filtres suppl\u00e9mentaires ont \u00e9t\u00e9 introduits dans la version 1.7.1. et vers le haut. Ils peuvent \u00eatre utilis\u00e9s pour ajouter du HTML dans les donn\u00e9es. Vous devez renvoyer un HTML dans votre option add_filters :\/\/ Cat\u00e9gorie HTMLapply_filters(&#8216;woocommerce_pdf_catalog_category_html&#8217;, $categoryTemplate->get_template($categoryLayout), $category_id) ;\/\/ Produit HTMLapply_filters(&#8216;woocommerce_pdf_catalog_single_product_html&#8217;, $html, $this->data->ID)\/\/ Toutes les donn\u00e9es sur les produitsapply_filters(&#8216;woocommerce_pdf_catalog_product_data&#8217;, $this->data) ;\/\/ Filtres d&#8217;information sur les produits &#8211; return $HTMLapply_filters(&#8216;woocommerce_pdf_catalog_before_product_information&#8217;, &#8221;, $this->data->ID) ;apply_filters(&#8216;woocommerce_pdf_catalog_before_product_information_start&#8217;, &#8221;, $this->data->ID) ;apply_filters(&#8216;woocommerce_pdf_catalog_before_product_information_read_more&#8217;, &#8221;, $this->data->ID) ;apply_filters(&#8216;woocommerce_pdf_catalog_before_product_information_categories&#8217;, &#8221;, $this->data->ID) ;apply_filters(&#8216;woocommerce_pdf_catalog_before_product_information_end&#8217;, &#8221;, $this->data->ID) ;apply_filters(&#8216;woocommerce_pdf_catalog_after_product_information&#8217;, &#8221;, $this->data->ID) ;<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-370","faq","type-faq","status-publish","hentry","faq_topics-pdf-catalog-filter-hooks"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/comments?post=370"}],"version-history":[{"count":2,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq\/370\/revisions"}],"predecessor-version":[{"id":8796,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/faq\/370\/revisions\/8796"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/fr\/wp-json\/wp\/v2\/product_cat?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}