Changeset 10140 for trunk/src/bp-xprofile/bp-xprofile-filters.php
- Timestamp:
- 09/25/2015 12:18:18 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/bp-xprofile-filters.php
r9819 r10140 1 1 <?php 2 3 /** 4 * BuddyPress XProfile Filters 5 * 6 * Apply WordPress defined filters 2 /** 3 * BuddyPress XProfile Filters. 4 * 5 * Apply WordPress defined filters. 7 6 * 8 7 * @package BuddyPress … … 10 9 */ 11 10 12 // Exit if accessed directly 11 // Exit if accessed directly. 13 12 defined( 'ABSPATH' ) || exit; 14 13 … … 77 76 * Sanitize each field option name for saving to the database 78 77 * 79 * @since BuddyPress (2.3.0)78 * @since 2.3.0 80 79 * 81 80 * @param mixed $field_options … … 93 92 * Sanitize each field option default for saving to the database 94 93 * 95 * @since BuddyPress (2.3.0)94 * @since 2.3.0 96 95 * 97 96 * @param mixed $field_default … … 124 123 * Filters the allowed tags for use within xprofile_filter_kses(). 125 124 * 126 * @since BuddyPress (1.5.0)125 * @since 1.5.0 127 126 * 128 127 * @param array $xprofile_allowedtags Array of allowed tags for profile field values. … … 160 159 * Filters the kses-filtered data before saving to database. 161 160 * 162 * @since BuddyPress (1.5.0)161 * @since 1.5.0 163 162 * 164 163 * @param string $filtered_field_value The filtered value. … … 193 192 * Runs stripslashes on XProfile fields. 194 193 * 195 * @since BuddyPress (1.0.0)194 * @since 1.0.0 196 195 * 197 196 * @param string $field_value XProfile field_value to be filtered. … … 216 215 * Apply display_filter() filters as defined by the BP_XProfile_Field_Type classes, when fetched inside a bp_has_profile() loop. 217 216 * 218 * @since BuddyPress (2.1.0)217 * @since 2.1.0 219 218 * 220 219 * @param mixed $field_value Field value. … … 239 238 * Apply display_filter() filters as defined by the BP_XProfile_Field_Type classes, when fetched by xprofile_get_field_data(). 240 239 * 241 * @since BuddyPress (2.1.0)240 * @since 2.1.0 242 241 * 243 242 * @param mixed $field_value Field value. … … 252 251 * Apply pre_validate_filter() filters as defined by the BP_XProfile_Field_Type classes before validating. 253 252 * 254 * @since BuddyPress (2.1.0)253 * @since 2.1.0 255 254 * 256 255 * @param mixed $value Value passed to the bp_xprofile_set_field_data_pre_validate … … 277 276 * - To disable: remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 ); 278 277 * 279 * @since BuddyPress (1.1.0)278 * @since 1.1.0 280 279 * 281 280 * @param string $field_value … … 371 370 * Filter BP_User_Query::populate_extras to override each queries users fullname 372 371 * 373 * @since BuddyPress (1.7.0)372 * @since 1.7.0 374 373 * 375 374 * @param BP_User_Query $user_query … … 396 395 * Parse 'xprofile_query' argument passed to BP_User_Query. 397 396 * 398 * @since BuddyPress (2.2.0)397 * @since 2.2.0 399 398 * 400 399 * @param BP_User_Query User query object. … … 420 419 * Filter meta queries to modify for the xprofile data schema. 421 420 * 422 * @since BuddyPress (2.0.0)421 * @since 2.0.0 423 422 * 424 423 * @access private Do not use.
Note: See TracChangeset
for help on using the changeset viewer.