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:
parent
c06a66dfda
commit
11b87ff174
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user