How alter page content before printing?
In my project, I am using “Printer-friendly pages” module in order to add print button to my project.
for example when a user is in “checkout/5/review” page, print module create a page with “print/checkout/5/review” address.
this process works fine but I want to alter the created page for printing “print/checkout/5/review”
I tested hook_page_alter
but it doesn’t work.
This article was republished from its original source.
Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.