LLMS_Table_NotificationSettings::sort_rows( array $row_a, array $row_b )
Sorting function to display all loaded notifications in alphabetical order
Parameters Parameters
- $row_a
-
(array) (Required) first row to compare
- $row_b
-
(array) (Required) second row to compare
Return Return
(int)
Source Source
File: includes/admin/settings/tables/class.llms.table.notification.settings.php
public function sort_rows( $row_a, $row_b ) { return strcmp( $row_a['notification'], $row_b['notification'] ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.10.0 | Introduced. |