Elgg
Version master
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
actions
admin
delete_admin_notices.php
Go to the documentation of this file.
1
<?php
2
3
$batch
=
elgg_get_admin_notices
([
4
'limit'
=>
false
,
5
'batch'
=>
true
,
6
'batch_inc_offset'
=>
false
,
7
]);
8
9
foreach
(
$batch
as $notice) {
10
$notice->delete();
11
}
12
13
return
elgg_ok_response
();
elgg_ok_response
elgg_ok_response($content= '', string|array $message= '', string $forward_url=null, int $status_code=ELGG_HTTP_OK)
Prepares a successful response to be returned by a page or an action handler.
Definition:
pagehandler.php:224
elgg_get_admin_notices
elgg_get_admin_notices(array $options=[])
Get admin notices.
Definition:
admin.php:75
$batch
$batch
Definition:
delete_admin_notices.php:3
Generated on Sat Dec 21 2024 00:02:50 for Elgg by
1.8.11