woocommerce_hide_redirect_method_nag

woocommerce_hide_redirect_method_nag

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_hide_redirect_method_nag') is found 1 times:

  • /includes/admin/class-wc-admin-notices.php line 623
    	 *
    	 * @since 4.0
    	 */
    	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 __DIR__ . '/views/html-notice-redirect-only-download.php';
    	}