WC_Gateway_Paypal_Notices::paypal_migration_notice_dismissedprotected staticWC 1.0

Deprecated since 0.4.0. It is no longer supported and may be removed in future releases. Use d. Functionality is now handled by is_notice_dismissed() instead.

Check if the installation notice has been dismissed.

Method of the class: WC_Gateway_Paypal_Notices{}

No Hooks.

Returns

true|false.

Usage

$result = WC_Gateway_Paypal_Notices::paypal_migration_notice_dismissed(): bool;

Changelog

Deprecated since 10.4.0 No longer used. Functionality is now handled by is_notice_dismissed().

WC_Gateway_Paypal_Notices::paypal_migration_notice_dismissed() code WC 10.6.2

protected static function paypal_migration_notice_dismissed(): bool {
	wc_deprecated_function( __METHOD__, '10.4.0', 'WC_Gateway_Paypal_Notices::is_notice_dismissed' );
	return (bool) get_user_meta( get_current_user_id(), 'dismissed_paypal_migration_completed_notice', true );
}