swift_performance_admin_notices

You can filter admin notices array

Parameters

$messages

array of message arrays


Return

array of message arrays


Example

add_filter('swift_performance_admin_notices', function($notices){
 $notices['custom-message-id'] = array('message' => 'I just added a custom message with filter', 'type' => 'success', 'permanent' => true);
 return $notices;
});