-
-
Save justinshreve/25392f3bb22492731d056a1dbc0e786f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Add Test Notice | |
Description: Adds a test notice. | |
Author: WooCommerce | |
Version: 1.0 | |
*/ | |
function test_add_notice() { ?> | |
<div class="notice notice-warning is-dismissible"> | |
<p> | |
<strong>Testing notice.</strong> | |
</p> | |
</div> | |
<?php } | |
add_action( 'admin_notices', 'test_add_notice' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment