WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Notes

LearnMoreAboutVariableProducts::__construct() public WC 1.0

Add transition_post_status action.

LearnMoreAboutVariableProducts constructor.

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

No Hooks.

Return

null. Nothing.

Usage

$LearnMoreAboutVariableProducts = new LearnMoreAboutVariableProducts();
$LearnMoreAboutVariableProducts->__construct();

Code of LearnMoreAboutVariableProducts::__construct() WC 5.3.0

<?php
public function __construct() {
	add_action( 'transition_post_status', array( $this, 'maybe_add_new_note' ), 10, 3 );
}