Replies: 0
The download button in the command history on the My Account page looks quite ugly with account number and ‘(PDF)’. Just ‘Invoice’ would do – at least for me. I have patched includes/be-woocommerce-pdf-invoices.php in the function add_my_account_pdf around line 660, but that is just a temporary hack. It would be much nicer if you would run the ‘name’ through a filter that one could hook into to change the text that appears in the button.
Since the add_my_account_pdf in this plugin is a filter function, another solution would be to create a custom filter that runs with a different priority and that processes the $actions that is returned by add-my_account_pdf.
Would be interesting to get the plugin author’s view and advice.