WC_Admin_Setup_Wizard::should_show_mailchimpprotectedWC 1.0

Deprecated since 4.6.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Should we show the MailChimp install option? True only if the user can install plugins.

Method of the class: WC_Admin_Setup_Wizard{}

No Hooks.

Returns

true|false.

Usage

// protected - for code of main (parent) or child class
$result = $this->should_show_mailchimp();

Changelog

Deprecated since 4.6.0

WC_Admin_Setup_Wizard::should_show_mailchimp() code WC 10.5.0

protected function should_show_mailchimp() {
	_deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' );
	return current_user_can( 'install_plugins' );
}