WC_Admin_Notices::redirect_download_method_notice()

Notice about Redirect-Only download method.


Description Description


Source Source

File: includes/admin/class-wc-admin-notices.php

	public static function redirect_download_method_notice() {
		if ( apply_filters( 'woocommerce_hide_redirect_method_nag', get_user_meta( get_current_user_id(), 'dismissed_redirect_download_method_notice', true ) ) ) {
			self::remove_notice( 'redirect_download_method' );
			return;
		}

		include dirname( __FILE__ ) . '/views/html-notice-redirect-only-download.php';
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.