Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableDataStore::maybe_backfill_post_record()
Helper function to decide whether to backfill post record.
Method of the class: OrdersTableDataStore{}
No Hooks.
Return
null
. Nothing (null).
Usage
// private - for code of main (parent) class only $result = $this->maybe_backfill_post_record( $order );
- $order(\WC_Abstract_Order) (required)
- Order object.
OrdersTableDataStore::maybe_backfill_post_record() OrdersTableDataStore::maybe backfill post record code WC 9.3.3
private function maybe_backfill_post_record( $order ) { if ( $this->should_backfill_post_record() ) { $this->backfill_post_record( $order ); } }