WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Internal

AssignDefaultCategory::init() public WC 1.0

Class initialization, to be executed when the class is resolved by the container.

{} It's a method of the class: AssignDefaultCategory{}

No Hooks.

Return

null. Nothing.

Usage

$AssignDefaultCategory = new AssignDefaultCategory();
$AssignDefaultCategory->init();

Code of AssignDefaultCategory::init() WC 5.9.0

final public function init() {
	add_action( 'wc_schedule_update_product_default_cat', array( $this, 'maybe_assign_default_product_cat' ) );
}