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);

6 thoughts on “WooCommerce Print Products Filters

  1. Fredrik says:

    Hooking into any of these filters makes the content you place there appear twice in the PDF page. Hook runs twice for some reason?

  2. Shahid Iqbal says:

    woocommerce_print_products_meta_keys
    We bought Product pdf plugin for our website. I am searching example for the above meta key hook. Could you send me any example. I want to display few informtion in my meta information.

    • Daniel says:

      Unfortunately we do not have any examples. Your developer will know how to work with this filter normally.

Leave a Reply

Your email address will not be published. Required fields are marked *