{"id":725,"date":"2020-03-17T07:33:58","date_gmt":"2020-03-17T07:33:58","guid":{"rendered":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/?post_type=faq&#038;p=725"},"modified":"2020-03-17T07:34:13","modified_gmt":"2020-03-17T07:34:13","slug":"print-posts-pdf-filters","status":"publish","type":"faq","link":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/faq\/print-posts-pdf-filters\/","title":{"rendered":"Print Posts PDF Filters"},"content":{"rendered":"<p>Our plugin offers multiple filters, that you can hook into with the <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/add_filter\/\" target=\"_blank\" rel=\"noopener noreferrer\">add_filter method from WordPress<\/a>.<\/p>\n<p>Here is a list of all filters you can use:<\/p>\n<pre>apply_filters('wordpress_print_posts_title', $this-&gt;post-&gt;post_title);\r\napply_filters('wordpress_print_posts_meta_keys', $temp);\r\napply_filters('wordpress_print_posts_before_blocks_html', $html, $this-&gt;data);\r\napply_filters('wordpress_print_posts_html', $html, $this-&gt;data);\r\napply_filters('wordpress_print_posts_header_footer_html', '', $position, $this-&gt;data);\r\napply_filters('wordpress_print_posts_meta_output', $meta_data, $meta_key);\r\n<\/pre>\n<a href=\"#\" class=\"wordpress-wishlist-add-post\" data-post-id=\"725\" data-wishlist=\"\" rel=\"nofollow\">\n\t\t\t\t\t<div class=\"pretty p-icon p-smooth\">\n\t\t\t\t\t\t<input type=\"checkbox\"  \/>\n\t\t\t\t\t\t<div class=\"state p-primary\">\n\t\t\t\t            <i class=\"icon fa fa-check\"><\/i>\n\t\t\t\t\t\t    <label class=\"add-to-wishlist-text\">Add to Wishlist<\/label>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/a>","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-725","faq","type-faq","status-publish","hentry","faq_topics-filter-hooks"],"_links":{"self":[{"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/faq\/725","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/comments?post=725"}],"version-history":[{"count":2,"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/faq\/725\/revisions"}],"predecessor-version":[{"id":727,"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/faq\/725\/revisions\/727"}],"wp:attachment":[{"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/media?parent=725"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/demos.welaunch.io\/wordpress-wishlist\/wp-json\/wp\/v2\/product_cat?post=725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}