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: (Codex) Plugin_API: Action_Reference » the wp_footer hook (Codex) Plugin_API: Action_Reference (Codex) Function_Reference