Skip to content

Instantly share code, notes, and snippets.

@thiagosilr
Last active September 9, 2016 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thiagosilr/5864334 to your computer and use it in GitHub Desktop.
Save thiagosilr/5864334 to your computer and use it in GitHub Desktop.
Plugin Html2Pdf Wordpress
<?php
/**
* Plugin Name: Html2Pdf
*/
include('html2pdf/html2pdf.class.php');
register_activation_hook(__FILE__, array('HTML2PDF'));
@zarankumar
Copy link

Hey did u tried html2pdf on wordpress??

@jcdarocha
Copy link

Hi,
Did you tried html2pdf on wordpress ? @zarankumar ? & @thiagosilr?
I've done a plugin, included html2pdf, and i've got an error telling me this:
Some data has already been output to browser, can't send PDF file

Do you have any advice?
Thx!!
JC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment