{"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-15T13:51:54","modified_gmt":"2024-05-15T11:51:54","slug":"pdf-catalog-data-filters","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/es\/knowledge-base\/faq\/pdf-catalog-data-filters\/","title":{"rendered":"Datos de cat\u00e1logo en PDF y filtros HTML para datos de entrada personalizados"},"content":{"rendered":"<p>Con la versi\u00f3n 1 se han introducido filtros adicionales.7.1. y m\u00e1s. Se pueden utilizar para a\u00f1adir HTML adicional a los datos. Necesitas devolver un HTML dentro de tu opci\u00f3n add_filters:\/\/ Categor\u00eda HTMLapply_filters( &#8216;woocommerce_pdf_catalog_category_html&#8217;, $categoryTemplate->get_template($categoryLayout), $category_id);\/\/ HTML del productoapply_filters(&#8216;woocommerce_pdf_catalog_single_product_html&#8217;, $html, $this->data->ID)\/\/ Todos los datos del productoapply_filters(&#8216;woocommerce_pdf_catalog_product_data&#8217;, $this->data);\/\/ Filtros de informaci\u00f3n del producto &#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\/es\/wp-json\/wp\/v2\/faq\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/comments?post=370"}],"version-history":[{"count":2,"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/faq\/370\/revisions"}],"predecessor-version":[{"id":8880,"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/faq\/370\/revisions\/8880"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/es\/wp-json\/wp\/v2\/product_cat?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}