Created
April 13, 2021 04:01
-
-
Save wtmujeebu/9f30289a21a15fd3d959b4c75f89fcc3 to your computer and use it in GitHub Desktop.
Print the Received seal on completed status.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('wf_pklist_toggle_received_seal','wf_pklist_toggle_received_seal_fn', 10, 3); | |
function wf_pklist_toggle_received_seal_fn($is_enable_received_seal, $template_type, $order) | |
{ | |
return ($order->get_status()=='completed'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment