Skip to content

Instantly share code, notes, and snippets.

Avatar

Fernando octaedro

View GitHub Profile
@octaedro
octaedro / woocommerce-notes-testing.php
Last active Apr 9, 2021
Adds 4 new notes with layout: banner, thumbnail, and plain, OR sets all the notes to not deleted. One of those notes is a StoreAlert. Now also adds an email note after pressing `Add Email Notes`.
View woocommerce-notes-testing.php
<?php
/**
* Plugin Name: WooCommerce Prepare Notes Testing
* Plugin URI: https://woocommerce.com
* Description: Adds 4 new notes with layout: banner, thumbnail, and plain, OR sets all the notes to not deleted. One of those notes is a StoreAlert. Now also adds an email note after pressing `Add Email Notes`.
* Author: WooCommerce
* Domain Path: /test_notes
* Version: 0.4
*/