8 $ts =
elgg()->csrf->getCurrentTime()->getTimestamp();
11 echo
elgg_view(
'input/hidden', [
'name' =>
'__elgg_token',
'value' =>
$token]);
12 echo
elgg_view(
'input/hidden', [
'name' =>
'__elgg_ts',
'value' =>
$ts]);
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
$ts
CSRF security token view for use with secure forms.