1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-21 21:21:54 +02:00

Added {NEWS_RATE} shortcode for anyone who needs it.

This commit is contained in:
Cameron 2017-10-01 07:52:15 -07:00
parent 7485bc49ee
commit 60f8111d27

@ -382,6 +382,11 @@ class news_shortcodes extends e_shortcode
}
public function sc_news_rate($parm=null)
{
return e107::getRate()->render("news", $this->news_item['news_id']);
}
// ----------------------------------- BC compatible Shortcodes ------------------------------------------- //