Which event should I use to parse custom BB codes in post_text:
(view topic)
Code: Select all
static public function getSubscribedEvents()
{
return [
'core.viewtopic_modify_post_data' => 'load_language_on_setup',
];
}
/**
* Load the Acme Demo language file
* acme/demo/language/en/demo.php
*
* @param \phpbb\event\data $event The event object
*/
public function load_language_on_setup($event)
{
//die();
print_r($event);
Thanks!