Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi Gregy,
    Since you’re a user of the professional extension, you’re entitled to premium support, so next time it’s better if you contact us directly through support@wpovernight.com! Officially, we’re only allowed to give support for the free plugin through this forum.

    That said, you can remove the button by adding the following code to your theme’s functions.php:

    add_filter( 'wpo_wcpdf_listing_actions', 'wpo_wcpdf_remove_proforma_button', 20, 2 );
    function wpo_wcpdf_remove_proforma_button ($listing_actions, $order) {
    	unset( $listing_actions['proforma']);
    	return $listing_actions;
    }

    Ewout

    Thread Starter gregy1403

    (@gregy1403)

    Thank you very much .. fixed 😉

    Plugin Contributor Ewout

    (@pomegranate)

    You’re welcome – Merry Christmas!

    Ewout

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove proforma from admin (PRO)’ is closed to new replies.