- 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.php
r13231 r13372 197 197 * @since 8.0.0 198 198 * 199 * @param BP_XProfile_Field $ thisThe xProfile field object.199 * @param BP_XProfile_Field $field The xProfile field object. 200 200 */ 201 201 do_action( 'bp_xprofile_field', $this ); … … 367 367 * @since 3.0.0 368 368 * 369 * @param BP_XProfile_Field $ thisCurrent instance of the field being deleted. Passed by reference.369 * @param BP_XProfile_Field $field Current instance of the field being deleted. Passed by reference. 370 370 * @param bool $delete_data Whether or not to delete data. 371 371 */ … … 392 392 * @since 3.0.0 393 393 * 394 * @param BP_XProfile_Field $ thisCurrent instance of the field being deleted. Passed by reference.394 * @param BP_XProfile_Field $field Current instance of the field being deleted. Passed by reference. 395 395 * @param bool $delete_data Whether or not to delete data. 396 396 */ … … 433 433 * @since 1.0.0 434 434 * 435 * @param BP_XProfile_Field $ thisCurrent instance of the field being saved.435 * @param BP_XProfile_Field $field Current instance of the field being saved. 436 436 */ 437 437 do_action_ref_array( 'xprofile_field_before_save', array( $this ) ); … … 484 484 * @since 1.5.0 485 485 * 486 * @param string 487 * @param BP_XProfile_Field$type Current field type being saved for.486 * @param string $post_option Submitted option value. 487 * @param string $type Current field type being saved for. 488 488 */ 489 $options = apply_filters( 'xprofile_field_options_before_save', $post_option,$this->type );489 $options = apply_filters( 'xprofile_field_options_before_save', $post_option, $this->type ); 490 490 491 491 /** … … 494 494 * @since 1.5.0 495 495 * 496 * @param string 497 * @param BP_XProfile_Field$type Current field type being saved for.496 * @param string $post_default Default option value. 497 * @param string $type Current field type being saved for. 498 498 */ 499 $defaults 499 $defaults = apply_filters( 'xprofile_field_default_before_save', $post_default, $this->type ); 500 500 501 501 $counter = 1; … … 531 531 * @since 1.0.0 532 532 * 533 * @param BP_XProfile_Field $ thisCurrent instance of the field being saved.533 * @param BP_XProfile_Field $field Current instance of the field being saved. 534 534 */ 535 535 do_action_ref_array( 'xprofile_field_after_save', array( $this ) ); … … 594 594 * 595 595 * @since 1.2.5 596 * @since 3.0.0 Added the `$ this` parameter.596 * @since 3.0.0 Added the `$field_object` parameter. 597 597 * 598 598 * @param array $children Found children for a field. … … 740 740 * @since 2.4.0 741 741 * 742 * @param BP_XProfile_Field $ this Field object.742 * @param BP_XProfile_Field $field Current instance of the field. 743 743 */ 744 744 do_action( 'bp_xprofile_field_set_member_type', $this ); … … 910 910 * 911 911 * @param bool $do_autolink The autolink property of the field. 912 * @param BP_XProfile_Field $ this Field object.912 * @param BP_XProfile_Field $field Current instance of the field. 913 913 */ 914 914 return apply_filters( 'bp_xprofile_field_do_autolink', $this->do_autolink, $this ); … … 1318 1318 * @since 2.2.0 1319 1319 * 1320 * @param BP_XProfile_Field $ this Current XProfile field.1320 * @param BP_XProfile_Field $field Current instance of the field. 1321 1321 */ 1322 1322 do_action( 'xprofile_field_after_sidebarbox', $this ); ?> … … 1333 1333 * @since 2.3.0 1334 1334 * 1335 * @param BP_XProfile_Field $ this Current XProfile field.1335 * @param BP_XProfile_Field $field Current instance of the field. 1336 1336 */ 1337 1337 do_action( 'xprofile_field_before_contentbox', $this ); … … 1348 1348 * @since 2.2.0 1349 1349 * 1350 * @param BP_XProfile_Field $ this Current XProfile field.1350 * @param BP_XProfile_Field $field Current instance of the field. 1351 1351 */ 1352 1352 do_action( 'xprofile_field_after_contentbox', $this ); ?> … … 1437 1437 * @since 2.1.0 1438 1438 * 1439 * @param BP_XProfile_Field $ this Current XProfile field.1439 * @param BP_XProfile_Field $field Current instance of the field. 1440 1440 */ 1441 1441 do_action( 'xprofile_field_before_submitbox', $this ); ?> … … 1454 1454 * @since 2.1.0 1455 1455 * 1456 * @param BP_XProfile_Field $ this Current XProfile field.1456 * @param BP_XProfile_Field $field Current instance of the field. 1457 1457 */ 1458 1458 do_action( 'xprofile_field_submitbox_start', $this ); ?> … … 1491 1491 * @since 2.1.0 1492 1492 * 1493 * @param BP_XProfile_Field $ this Current XProfile field.1493 * @param BP_XProfile_Field $field Current instance of the field. 1494 1494 */ 1495 1495 do_action( 'xprofile_field_after_submitbox', $this );
Note: See TracChangeset
for help on using the changeset viewer.