[POSTING] Make it possible for plugins to change the placeholder string
This commit is contained in:
parent
72dcff22f7
commit
488e700fab
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue
Block a user