Echo simple string in Plugin

A subtle difference between your syntax wp-footershould be wp_footer, underscore _ and not hypthen -

add_filter('wp-footer', fahad);   // wrong...

add_filter('wp_footer', 'fahad'); // right..

Follow the naming convention of functions:

Leave a Comment