Changeset 6481 for trunk/src/includes/common/functions.php
- Timestamp:
- 06/04/2017 09:34:59 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r6445 r6481 123 123 124 124 /** Misc **********************************************************************/ 125 126 /** 127 * Return the unique non-empty values of an array. 128 * 129 * @since 2.6.0 bbPress (r6481) 130 * 131 * @param array $array Array to get values of 132 * 133 * @return array 134 */ 135 function bbp_get_unique_array_values( $array = array() ) { 136 return array_unique( array_filter( array_values( $array ) ) ); 137 } 125 138 126 139 /**
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)