up one level

Tags: #minging

Hello World Plugin for WordPress

By w̶i̶e̶l̶d̶l̶i̶n̶u̶x̶.̶c̶o̶m̶ author Morgan Jassen

I authored a Hello World plugin for WordPress. I wanted to have something simple, especially to build off of for subsequent WordPress Plugin how-tos.

Here it is!:

Plugin Name: mzz-helloworld
Description: A hello world plugin for WordPress
License: GPLv2

// echoes the text
function mzz_helloworld() {
	echo "Hello, Mzz World!";

// execute when the admin_notices action is called, thus the text shows at top of WP Admin Dashboard area
add_action( 'admin_notices', 'mzz_helloworld' );



[2019-03-11 edit: Moved to: https://investorworker.com/2017/... .html.]