woocommerce_hpos_post_record_backfilled
Fired when the backing post record for an HPOS order is backfilled after an order update.
Usage
add_action( 'woocommerce_hpos_post_record_backfilled', 'wp_kama_woocommerce_hpos_post_record_backfilled_action' ); /** * Function for `woocommerce_hpos_post_record_backfilled` action-hook. * * @param \WC_Order $order The order object. * * @return void */ function wp_kama_woocommerce_hpos_post_record_backfilled_action( $order ){ // action... }
- $order(\WC_Order)
- The order object.
Changelog
Since 8.5.0 | Introduced. |
Where the hook is called
woocommerce_hpos_post_record_backfilled
woocommerce/src/Internal/DataStores/Orders/OrdersTableDataStore.php 642
do_action( 'woocommerce_hpos_post_record_backfilled', $order );