[POSTING] Make it possible for plugins to change the placeholder string

This commit is contained in:
Diogo Peralta Cordeiro 2021-07-22 13:02:09 +01:00
parent aada96beb7
commit 0eebcdbd51
1 changed files with 3 additions and 2 deletions

View File

@ -70,6 +70,7 @@ END;
}
$placeholder_string = ['How are you feeling?', 'Have something to share?', 'How was your day?'];
Event::handle('PostingPlaceHolderString', [&$placeholder_string]);
$rand_key = array_rand($placeholder_string);
$request = $vars['request'];