Here is a list of all Filters for our WooCommerce Print products plugin:
// Data Filters
apply_filters('woocommerce_print_products_title', $this->post->post_title);
apply_filters('woocommerce_print_products_short_description', do_shortcode($this->post->post_excerpt));
apply_filters('woocommerce_print_products_price', $price);
apply_filters('woocommerce_print_products_description', $this->post->post_content);
apply_filters('woocommerce_print_products_meta_keys', $temp);
apply_filters('woocommerce_print_products_product_html', $this->get_first_layout(), $this->data->ID);
// Custom HTML
apply_filters('woocommerce_print_products_before_product_info_html', '', $this->data->ID);
apply_filters('woocommerce_print_products_after_product_info_html', '', $this->data->ID);
// HTML Strings
apply_filters('woocommerce_print_products_product_description_html', ob_get_clean(), $this->data->ID);
apply_filters('woocommerce_print_products_product_attributes_html', ob_get_clean(), $this->data->ID);
apply_filters('woocommerce_print_products_product_attributes_html', ob_end_clean(), $this->data->ID);
apply_filters('woocommerce_print_products_product_reviews_html', ob_get_clean(), $this->data->ID);
apply_filters('woocommerce_print_products_product_upsells_html', ob_get_clean(), $this->data->ID);
apply_filters('woocommerce_print_products_product_gallery_images_html', ob_get_clean(), $this->data->ID);
apply_filters('woocommerce_print_products_product_variations_html', ob_get_clean(), $this->data->ID);
Hooking into any of these filters makes the content you place there appear twice in the PDF page. Hook runs twice for some reason?
What hooks exactly?
How do I use these filters?