Changeset 3286 for trunk/bp-core/bp-core-templatetags.php
- Timestamp:
- 10/07/2010 09:29:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-templatetags.php
r3263 r3286 1081 1081 add_filter( 'bp_create_excerpt', 'force_balance_tags' ); 1082 1082 1083 /**1084 * bp_is_serialized()1085 *1086 * Checks to see if the data passed has been serialized.1087 *1088 * @package BuddyPress Core1089 * @param $data str The data that will be checked1090 * @return bool false if the data is not serialized1091 * @return bool true if the data is serialized1092 */1093 function bp_is_serialized( $data ) {1094 if ( '' == trim($data) )1095 return false;1096 1097 if ( preg_match( "/^(i|s|a|o|d)(.*);/si", $data ) )1098 return true;1099 1100 return false;1101 }1102 1103 1083 function bp_total_member_count() { 1104 1084 echo bp_get_total_member_count();
Note: See TracChangeset
for help on using the changeset viewer.