Run string through Joomla onPrepareContent plugins

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. jimport('joomla.html.html');
  3. $out = 'my text with {plugin} to run through J!';
  4. $out = JHTML::_('content.prepare', $out);

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.