Home Forums WordPress Web Invoice – Invoicing and billing for WordPress Would like to integrate a pdf plug-in.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3514
    KevinHeath
    Member

    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?

    #4792

    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.

    #4795
    314media
    Member

    Hey…

    Is there code already in the plugin to print to a PDF, if so; how do I enable it?

    #4798

    @314media, 1.12.0 up has download invoice as PDF feature. Sorry for the delay.

    #4801
    deyso
    Member

    I can not find where to turn on the PDF feature.

    #4804

    It’s always turned on, are you having issues with generating PDFs?

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