Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/07/2016 07:38:27 PM (9 years ago)
Author:
tw2113
Message:

Continued XProfile docs cleanup.

See #6406.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-xprofile/bp-xprofile-filters.php

    r10557 r10740  
    8383 * @since 2.3.0
    8484 *
    85  * @param  mixed $field_options Options to sanitize.
    86  *
     85 * @param mixed $field_options Options to sanitize.
    8786 * @return mixed
    8887 */
     
    10099 * @since 2.3.0
    101100 *
    102  * @param  mixed $field_default Field defaults to sanitize.
    103  *
     101 * @param mixed $field_default Field defaults to sanitize.
    104102 * @return mixed
    105103 */
     
    115113 * Run profile field values through kses with filterable allowed tags.
    116114 *
     115 * @since 1.5.0
     116 *
    117117 * @param string      $content  Content to filter.
    118118 * @param object|null $data_obj The BP_XProfile_ProfileData object.
    119  *
    120119 * @return string $content
    121120 */
     
    155154 * Safely runs profile field data through kses and force_balance_tags.
    156155 *
     156 * @since 1.2.6
     157 *
    157158 * @param string      $field_value Field value being santized.
    158159 * @param int         $field_id    Field ID being sanitized.
    159160 * @param bool        $reserialize Whether to reserialize arrays before returning. Defaults to true.
    160161 * @param object|null $data_obj    The BP_XProfile_ProfileData object.
    161  *
    162162 * @return string
    163163 */
     
    217217 * @param string $field_value XProfile field_value to be filtered.
    218218 * @param string $field_type  XProfile field_type to be filtered.
    219  *
    220219 * @return string $field_value Filtered XProfile field_value. False on failure.
    221220 */
     
    243242 * @param string     $field_type  Field type.
    244243 * @param string|int $field_id    Optional. ID of the field.
    245  *
    246244 * @return mixed
    247245 */
     
    394392 * and swaps out user data with BP xprofile data, where available.
    395393 *
     394 * @since 1.2.0
     395 *
    396396 * @param array $comments Comments to filter in.
    397397 * @param int   $post_id  Post ID the comments are for.
    398  *
    399398 * @return array $comments
    400399 */
Note: See TracChangeset for help on using the changeset viewer.