Automattic\WooCommerce\Internal\DataStores\Orders
OrdersTableDataStore::maybe_backfill_post_record
Helper function to decide whether to backfill post record.
Метод класса: OrdersTableDataStore{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// private - только в коде основоного (родительского) класса $result = $this->maybe_backfill_post_record( $order );
- $order(WC_Abstract_Order) (обязательный)
- Order object.
Код OrdersTableDataStore::maybe_backfill_post_record() OrdersTableDataStore::maybe backfill post record WC 10.5.0
private function maybe_backfill_post_record( $order ) {
if ( $this->should_backfill_post_record() ) {
$this->backfill_post_record( $order );
}
}