Elgg
Version 3.0
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'
=> 0,
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
();
$notice
$notice
Definition:
delete_admin_notice.php:7
elgg_get_admin_notices
elgg_get_admin_notices(array $options=[])
Get admin notices.
Definition:
admin.php:83
elgg_ok_response
elgg_ok_response($content= '', $message= '', $forward_url=null, $status_code=ELGG_HTTP_OK)
Prepares a successful response to be returned by a page or an action handler.
Definition:
pagehandler.php:208
$batch
$batch
Definition:
delete_admin_notices.php:3
Generated on Sat Jan 16 2021 00:00:24 for Elgg by
1.8.11