Automattic\WooCommerce\Internal\DataStores\Orders
CustomOrdersTableController::handle_feature_enabled_changed()
Метод класса: CustomOrdersTableController{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$CustomOrdersTableController = new CustomOrdersTableController(); $CustomOrdersTableController->;
Код CustomOrdersTableController::handle_feature_enabled_changed() CustomOrdersTableController::handle feature enabled changed WC 9.3.3
// Check again to see if index was actually created. if ( $this->db_util->fts_index_on_order_address_table_exists() ) { update_option( self::HPOS_FTS_ADDRESS_INDEX_CREATED_OPTION, 'yes', true ); } else { update_option( self::HPOS_FTS_ADDRESS_INDEX_CREATED_OPTION, 'no', true ); if ( class_exists( 'WC_Admin_Settings ' ) ) { WC_Admin_Settings::add_error( __( 'Failed to create FTS index on address table', 'woocommerce' ) ); } } if ( ! $this->db_util->fts_index_on_order_item_table_exists() ) {