Données du catalogue PDF &amp ; Filtres HTML pour les données d’affichage personnalisées

Des filtres supplémentaires ont été introduits dans la version 1.7.1. et vers le haut. Ils peuvent être utilisés pour ajouter du HTML dans les données. Vous devez renvoyer un HTML dans votre option add_filters :// Catégorie HTMLapply_filters(‘woocommerce_pdf_catalog_category_html’, $categoryTemplate->get_template($categoryLayout), $category_id) ;// Produit HTMLapply_filters(‘woocommerce_pdf_catalog_single_product_html’, $html, $this->data->ID)// Toutes les données sur les produitsapply_filters(‘woocommerce_pdf_catalog_product_data’, $this->data) ;// Filtres d’information sur les produits – return $HTMLapply_filters(‘woocommerce_pdf_catalog_before_product_information’, ”, $this->data->ID) ;apply_filters(‘woocommerce_pdf_catalog_before_product_information_start’, ”, $this->data->ID) ;apply_filters(‘woocommerce_pdf_catalog_before_product_information_read_more’, ”, $this->data->ID) ;apply_filters(‘woocommerce_pdf_catalog_before_product_information_categories’, ”, $this->data->ID) ;apply_filters(‘woocommerce_pdf_catalog_before_product_information_end’, ”, $this->data->ID) ;apply_filters(‘woocommerce_pdf_catalog_after_product_information’, ”, $this->data->ID) ;

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *