Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class plgContentTest extends JPlugin
- {
- public function onContentAfterSave($context, &$article, $isNew)
- {
- $option = JRequest::getVar('option');
- if($option=='com_content'){
- echo var_dump($article);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement