This file contains hidden or 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
add_filter('change_order_status_on_preorder_date','bp_change_order_status',20,1); | |
function bp_change_order_status($status){ | |
return 'processing'; | |
} |
This file contains hidden or 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 | |
/*========================================= | |
Custom Submit Box | |
==========================================*/ | |
/** | |
* Loop throught custom post types and | |
* replace default submit box | |
* | |
* @since 1.0 | |
* |