WordPress at a glance
function is not described


Onboarding::remove_install_notice() public WC 1.0

Remove the install notice that prompts the user to visit the old onboarding setup wizard.

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

No Hooks.


true|false. Nothing.


$result = Onboarding::remove_install_notice( $show, $notice );
$show(true|false) (required)
Show or hide the notice.
$notice(string) (required)
The slug of the notice.

Code of Onboarding::remove_install_notice() WC 5.3.0

public static function remove_install_notice( $show, $notice ) {
	if ( 'install' === $notice ) {
		return false;

	return $show;