Skip to content

Instantly share code, notes, and snippets.

@jefferythewind
Created November 14, 2017 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jefferythewind/f31ba44cb0e18b4b34081257c411e17d to your computer and use it in GitHub Desktop.
Save jefferythewind/f31ba44cb0e18b4b34081257c411e17d to your computer and use it in GitHub Desktop.
<?php
// no direct access
defined('_JEXEC') or die;
class plgContentHelloworld extends JPlugin
{
public function onContentAfterTitle($context, &$article, &$params, $limitstart)
{
return "<p>Hello World!</p>";
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment