Filters the content of a FAQ Group.
The $faq_group variable is structured as the following example:
$faq_group = [
'ID' => 1,
'title' => My FAQ Group,
'position' => 1, //position within the editor
'faqs' => [12, 23, 34, 45, 56, ...], //FAQ IDs
'views' => [ //Number of views per FAQ ID
12 => 10,
2 => 8,
3 => 14,
4 => 5,
5 => 2,
...
],
];
Usage example :
add_filter( 'joli_faq_seo_faq_group', function($faq_group){
//Filter $faq_group array here
$faq_group['faqs'][] = 77; //Adds the FAQ 77 to the group.
return $faq_group;
});