Last active
May 25, 2019 05:45
-
-
Save Musilda/96da9fdfabc4078497c991026577e309 to your computer and use it in GitHub Desktop.
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 | |
$statuses = array( | |
'completed', | |
'failed', | |
'cancelled', | |
'refunded' | |
); | |
return apply_filters( 'fio_blocked_order_statuses', $statuses ); | |
add_filter( 'fio_blocked_order_statuses', 'extend_fio_blocked_order_statuses' ); | |
function extend_fio_blocked_order_statuses( $statuses ){ | |
$statuses[] = 'nezaplaceno'; | |
return $statuses; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment