- Timestamp:
- 11/24/2022 09:33:11 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
r13108 r13372 111 111 * @since 2.0.0 112 112 * 113 * @param BP_XProfile_Field_Type $this Current instance of 114 * the field type class. 113 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 115 114 */ 116 115 do_action( 'bp_xprofile_field_type', $this ); … … 140 139 * @param string $replace_format Optional replace format If "replace", replaces the 141 140 * format instead of adding to it. Defaults to "add". 142 * @param BP_XProfile_Field_Type $ this Current instance of the BP_XProfile_Field_Type class.141 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 143 142 */ 144 143 $format = apply_filters( 'bp_xprofile_field_type_set_format', $format, $replace_format, $this ); … … 187 186 * @deprecated 7.0.0 Use 'bp_xprofile_field_type_set_allowed_values' instead. 188 187 * 189 * @param string $value Field value.190 * @param array $values Original array of values.191 * @param BP_XProfile_Field_Type $ this Current instance of the BP_XProfile_Field_Type class.188 * @param string $value Field value. 189 * @param array $values Original array of values. 190 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 192 191 */ 193 192 $this->validation_allowed_values[] = apply_filters_deprecated( 'bp_xprofile_field_type_set_whitelist_values', array( $value, $values, $this ), '7.0.0', 'bp_xprofile_field_type_set_allowed_values' ); … … 198 197 * @since 7.0.0 199 198 * 200 * @param string $value Field value.201 * @param array $values Original array of values.202 * @param BP_XProfile_Field_Type $ this Current instance of the BP_XProfile_Field_Type class.199 * @param string $value Field value. 200 * @param array $values Original array of values. 201 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 203 202 */ 204 203 $this->validation_allowed_values[] = apply_filters( 'bp_xprofile_field_type_set_allowed_values', $value, $values, $this ); … … 256 255 * @since 2.0.0 257 256 * 258 * @param bool $validated Whether or not the field type is valid.259 * @param string|array $values Value to check against the registered formats.260 * @param BP_XProfile_Field_Type $ this Current instance of the BP_XProfile_Field_Type class.257 * @param bool $validated Whether or not the field type is valid. 258 * @param string|array $values Value to check against the registered formats. 259 * @param BP_XProfile_Field_Type $field_type Current instance of the field type class. 261 260 */ 262 261 return (bool) apply_filters( 'bp_xprofile_field_type_is_valid', $validated, $values, $this );
Note: See TracChangeset
for help on using the changeset viewer.