Home Forums WordPress Web Invoice – Invoicing and billing for WordPress add text to the online invoice

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3577
    kalanit
    Member

    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

    #5086

    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";
    }

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.