Skip to content

Instantly share code, notes, and snippets.

View Niloys7's full-sized avatar
🏠
Working from home

Niloy Niloys7

🏠
Working from home
View GitHub Profile
@Niloys7
Niloys7 / change_order_status_on_preorder_date.php
Created July 12, 2022 00:13 — forked from niloyBrightVessel/change_order_status_on_preorder_date.php
Change Preorder status after preoder date arrived
View change_order_status_on_preorder_date.php
add_filter('change_order_status_on_preorder_date','bp_change_order_status',20,1);
function bp_change_order_status($status){
return 'processing';
}
@Niloys7
Niloys7 / replace-wp_submit.php
Last active October 24, 2023 13:43 — forked from zutigrm/replace-wp_submit.php
Replace submitdiv in custom post type
View replace-wp_submit.php
<?php
/*=========================================
Custom Submit Box
==========================================*/
/**
* Loop throught custom post types and
* replace default submit box
*
* @since 1.0
*