- This topic has 5 replies, 4 voices, and was last updated 12 years, 4 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Forums › WordPress › Web Invoice – Invoicing and billing for WordPress › Would like to integrate a pdf plug-in.
There is a pdf to email – PDF24 Article To PDF – which I would like to integrate into the invoice pages.
The plug in asks me to put a line of code into the page template where I want the button to appear.
Whereabouts in the plug-in files shall I add the code?
You can either hack the plugin or create a custom plugin and use the action web_invoice_content_append
.
e.g.
add_action('web_invoice_content_append', 'custom_plugin_web_invoice_content_append');
function custom_plugin_web_invoice_content_append() {
echo "<p>HTML/Code here</p>"
}
Hope I made sense.
Hey…
Is there code already in the plugin to print to a PDF, if so; how do I enable it?
@314media, 1.12.0 up has download invoice as PDF feature. Sorry for the delay.
I can not find where to turn on the PDF feature.
It’s always turned on, are you having issues with generating PDFs?
Freelance programmer, web developer, app developer, system administrator with over 5 years experience in PHP, Javascript, Objective-C, Python, Perl, Ruby, Java, C++, system administration and database administration in mission critical environments. Also skills in graphic designing and more. I can provide end to end solutions. I also specialize in open source product deployment and customization.