- This topic has 1 reply, 2 voices, and was last updated 14 years ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › WordPress › Web Invoice – Invoicing and billing for WordPress › add text to the online invoice
I’m using your WebInvoice Plugin and need to add some text to the actual web invoice page. I would like to add a paragraph underneath the existing paragraph about how to pay, to print PDF, etc. Which file do I need to edit for that?
Thanks, Yael
There is a action hook named ‘web_invoice_front_top’ which you can use to add content after the print help before the invoice.
Create a custom plugin and use add_action to hook into the action. e.g.
add_action("web_invoice_front_top", 'myplugin_invoice_front_top');
function myplugin_invoice_front_top($invoice_id) {
print "Text you want to add";
}
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.