Echo simple string in Plugin

I am getting started with plugin development. I wrote the following program to display text on screen but nothing happened. Please help. Thanks.

<?php
/*
Plugin Name: Fahad
Plugin URI:
Description: Declares a plugin that will be visible in the
WordPress admin interface
Version: 1.0
Author: Yannick Lefebvre
Author URI: http://ylefebvre.ca
License: GPLv2
*/
?>


function fahad(){
    echo "I am alive";
}
add_filter('wp-footer', fahad);

Related posts

Leave a Reply

1 comment