Using the JSON API via HTTPS and HTTP

You can serve your site on both protocols http and https. This might be problem if you care about SEO (duplicate content). You can use 301 redirection to force users to be redirected from http to https. Old app will be slightly slower because of redirection but it will be working. This might be problem … Read more

Override plugin function to show invoices even if not logged in

Try to remove the plugin function from the filter. Are you sure the plugin function and the filter have the same name! *You will need to know the priority that the plugin function is using to use it in remove_filter, I will assume It’s the default (10). remove_filter( ‘print_document_action’, ‘print_document_action’, 10 ); Then add your … Read more