1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-07 03:15:03 +02:00

FAQ plugin - added shortcode category ID

Co-Authored-By: Jimako <jimmi08@users.noreply.github.com>
This commit is contained in:
Tijn Kuyper 2019-10-02 09:39:41 +02:00
parent c06a66dfda
commit 11b87ff174
No known key found for this signature in database
GPG Key ID: AAEA3CC2C5A308F2

View File

@ -199,6 +199,12 @@ class faqs_shortcodes extends e_shortcode
}
}
/* {FAQ_CATEGORY_ID} */
function sc_faq_category_id($parm = '')
{
return $this->var['faq_parent'];
}
function sc_faq_category($parm = '')
{
// $tp = e107::getParser();