-
diff --git a/src/bp-activity/classes/class-bp-activity-activity.php b/src/bp-activity/classes/class-bp-activity-activity.php
index 854a0a8c6..cdef69723 100644
a
|
b
|
class BP_Activity_Activity { |
255 | 255 | * |
256 | 256 | * @since 1.0.0 |
257 | 257 | * |
258 | | * @param BP_Activity_Activity $this Current instance of the activity item being saved. Passed by reference. |
| 258 | * @param BP_Activity_Activity $activity Current instance of the activity item being saved. Passed by reference. |
259 | 259 | */ |
260 | 260 | do_action_ref_array( 'bp_activity_before_save', array( &$this ) ); |
261 | 261 | |
… |
… |
class BP_Activity_Activity { |
326 | 326 | * |
327 | 327 | * @since 1.0.0 |
328 | 328 | * |
329 | | * @param BP_Activity_Activity $this Current instance of activity item being saved. Passed by reference. |
| 329 | * @param BP_Activity_Activity $activity Current instance of activity item being saved. Passed by reference. |
330 | 330 | */ |
331 | 331 | do_action_ref_array( 'bp_activity_after_save', array( &$this ) ); |
332 | 332 | |
-
diff --git a/src/bp-activity/classes/class-bp-activity-feed.php b/src/bp-activity/classes/class-bp-activity-feed.php
index bb984c1fa..1e33aa5be 100644
a
|
b
|
class BP_Activity_Feed { |
150 | 150 | * |
151 | 151 | * @since 1.8.0 |
152 | 152 | * |
153 | | * @param BP_Activity_Feed $this Current instance of activity feed. Passed by reference. |
| 153 | * @param BP_Activity_Feed $feed Current instance of activity feed. Passed by reference. |
154 | 154 | */ |
155 | 155 | do_action_ref_array( 'bp_activity_feed_prefetch', array( &$this ) ); |
156 | 156 | |
… |
… |
class BP_Activity_Feed { |
168 | 168 | * |
169 | 169 | * @since 1.8.0 |
170 | 170 | * |
171 | | * @param BP_Activity_Feed $this Current instance of activity feed. Passed by reference. |
| 171 | * @param BP_Activity_Feed $feed Current instance of activity feed. Passed by reference. |
172 | 172 | */ |
173 | 173 | do_action_ref_array( 'bp_activity_feed_postfetch', array( &$this ) ); |
174 | 174 | |
-
diff --git a/src/bp-blogs/classes/class-bp-blogs-blog.php b/src/bp-blogs/classes/class-bp-blogs-blog.php
index a8dc929cb..0284ac547 100644
a
|
b
|
class BP_Blogs_Blog { |
102 | 102 | * |
103 | 103 | * @since 1.0.0 |
104 | 104 | * |
105 | | * @param BP_Blogs_Blog $this Current instance of the blog item being saved. Passed by reference. |
| 105 | * @param BP_Blogs_Blog $blog Current instance of the blog item being saved. Passed by reference. |
106 | 106 | */ |
107 | 107 | do_action_ref_array( 'bp_blogs_blog_before_save', array( &$this ) ); |
108 | 108 | |
… |
… |
class BP_Blogs_Blog { |
134 | 134 | * |
135 | 135 | * @since 1.0.0 |
136 | 136 | * |
137 | | * @param BP_Blogs_Blog $this Current instance of the blog item being saved. Passed by reference. |
| 137 | * @param BP_Blogs_Blog $blog Current instance of the blog item being saved. Passed by reference. |
138 | 138 | */ |
139 | 139 | do_action_ref_array( 'bp_blogs_blog_after_save', array( &$this ) ); |
140 | 140 | |
-
diff --git a/src/bp-core/classes/class-bp-button.php b/src/bp-core/classes/class-bp-button.php
index f511bec7f..68b1c7cf3 100644
a
|
b
|
class BP_Button { |
359 | 359 | * @since 2.7.0 Added $r as a parameter. |
360 | 360 | * |
361 | 361 | * @param string $contents HTML being used for the button. |
362 | | * @param BP_Button $this Current BP_Button instance. |
| 362 | * @param BP_Button $button Current BP_Button instance. |
363 | 363 | * @param string $before HTML appended before the actual button. |
364 | 364 | * @param string $after HTML appended after the actual button. |
365 | 365 | * @param array $r Parsed button arguments. |
-
diff --git a/src/bp-core/classes/class-bp-email-recipient.php b/src/bp-core/classes/class-bp-email-recipient.php
index 882ceb359..34a2d637a 100644
a
|
b
|
class BP_Email_Recipient extends BP_Email_Participant { |
101 | 101 | * @param string|array|int|WP_User $email_or_user Either a email address, user ID, WP_User object, |
102 | 102 | * or an array containing any combination of the above. |
103 | 103 | * @param string $name If $email_or_user is a string, this is the recipient's name. |
104 | | * @param BP_Email_Recipient $this Current instance of the email type class. |
| 104 | * @param BP_Email_Recipient $recipient Current instance of the email type class. |
105 | 105 | */ |
106 | 106 | do_action( 'bp_email_recipient', $email_or_user, $name, $this ); |
107 | 107 | } |
… |
… |
class BP_Email_Recipient extends BP_Email_Participant { |
172 | 172 | * @param WP_User $name WP_User object for this recipient, or null if not set. |
173 | 173 | * @param string $transform Optional. How the return value was transformed. |
174 | 174 | * Accepts 'raw' (default) or 'search-email'. |
175 | | * @param BP_Email $recipient $this Current instance of the email recipient class. |
| 175 | * @param BP_Email $recipient Current instance of the email recipient class. |
176 | 176 | */ |
177 | 177 | return apply_filters( 'bp_email_recipient_get_user', $this->user_object, $transform, $this ); |
178 | 178 | } |
-
diff --git a/src/bp-core/classes/class-bp-email.php b/src/bp-core/classes/class-bp-email.php
index fdb7b207f..d905a0e66 100644
a
|
b
|
class BP_Email { |
199 | 199 | * @since 2.5.0 |
200 | 200 | * |
201 | 201 | * @param string $email_type Unique identifier for this type of email. |
202 | | * @param BP_Email $this Current instance of the email type class. |
| 202 | * @param BP_Email $email Current instance of the email type class. |
203 | 203 | */ |
204 | 204 | do_action( 'bp_email', $email_type, $this ); |
205 | 205 | } |
… |
… |
class BP_Email { |
248 | 248 | * @param string $property_name |
249 | 249 | * @param string $transform How to transform the return value. |
250 | 250 | * Accepts 'raw' (default) or 'replace-tokens'. |
251 | | * @param BP_Email $this Current instance of the email type class. |
| 251 | * @param BP_Email $email Current instance of the email type class. |
252 | 252 | */ |
253 | 253 | $retval = apply_filters( "bp_email_get_{$property_name}", $this->$property_name, $property_name, $transform, $this ); |
254 | 254 | |
… |
… |
class BP_Email { |
276 | 276 | * @param string $property_name |
277 | 277 | * @param string $transform How to transform the return value. |
278 | 278 | * Accepts 'raw' (default) or 'replace-tokens'. |
279 | | * @param BP_Email $this Current instance of the email type class. |
| 279 | * @param BP_Email $email Current instance of the email type class. |
280 | 280 | */ |
281 | 281 | return apply_filters( 'bp_email_get_property', $retval, $property_name, $transform, $this ); |
282 | 282 | } |
… |
… |
class BP_Email { |
550 | 550 | * @since 2.5.0 |
551 | 551 | * |
552 | 552 | * @param string[] $new_headers Key/value pairs of new header name/values (strings). |
553 | | * @param BP_Email $this Current instance of the email type class. |
| 553 | * @param BP_Email $email Current instance of the email type class. |
554 | 554 | */ |
555 | 555 | $this->headers = apply_filters( 'bp_email_set_headers', $new_headers, $this ); |
556 | 556 | |
… |
… |
class BP_Email { |
598 | 598 | * @param string $name Optional. If $bcc_address is a string, this is the recipient's name. |
599 | 599 | * @param string $operation If "replace", $to_address replaced previous recipients. If "add", |
600 | 600 | * $to_address was added to the array of recipients. |
601 | | * @param BP_Email $this Current instance of the email type class. |
| 601 | * @param BP_Email $email Current instance of the email type class. |
602 | 602 | */ |
603 | 603 | $this->bcc = apply_filters( 'bp_email_set_bcc', $bcc, $bcc_address, $name, $operation, $this ); |
604 | 604 | |
… |
… |
class BP_Email { |
646 | 646 | * @param string $name Optional. If $cc_address is a string, this is the recipient's name. |
647 | 647 | * @param string $operation If "replace", $to_address replaced previous recipients. If "add", |
648 | 648 | * $to_address was added to the array of recipients. |
649 | | * @param BP_Email $this Current instance of the email type class. |
| 649 | * @param BP_Email $email Current instance of the email type class. |
650 | 650 | */ |
651 | 651 | $this->cc = apply_filters( 'bp_email_set_cc', $cc, $cc_address, $name, $operation, $this ); |
652 | 652 | |
… |
… |
class BP_Email { |
669 | 669 | * @since 2.5.0 |
670 | 670 | * |
671 | 671 | * @param string $content HTML email content. |
672 | | * @param BP_Email $this Current instance of the email type class. |
| 672 | * @param BP_Email $email Current instance of the email type class. |
673 | 673 | */ |
674 | 674 | $this->content_html = apply_filters( 'bp_email_set_content_html', $content, $this ); |
675 | 675 | |
… |
… |
class BP_Email { |
692 | 692 | * @since 2.5.0 |
693 | 693 | * |
694 | 694 | * @param string $content Plain text email content. |
695 | | * @param BP_Email $this Current instance of the email type class. |
| 695 | * @param BP_Email $email Current instance of the email type class. |
696 | 696 | */ |
697 | 697 | $this->content_plaintext = apply_filters( 'bp_email_set_content_plaintext', $content, $this ); |
698 | 698 | |
… |
… |
class BP_Email { |
721 | 721 | * @since 2.5.0 |
722 | 722 | * |
723 | 723 | * @param string $content_type Email content type ("html" or "plaintext"). |
724 | | * @param BP_Email $this Current instance of the email type class. |
| 724 | * @param BP_Email $email Current instance of the email type class. |
725 | 725 | */ |
726 | 726 | $this->content_type = apply_filters( 'bp_email_set_content_type', $content_type, $this ); |
727 | 727 | |
… |
… |
class BP_Email { |
751 | 751 | * @param BP_Email_Recipient $from Sender details. |
752 | 752 | * @param string|array|int|WP_User $email_address Either a email address, user ID, or WP_User object. |
753 | 753 | * @param string $name Optional. If $email_address is a string, this is the recipient's name. |
754 | | * @param BP_Email $this Current instance of the email type class. |
| 754 | * @param BP_Email $email Current instance of the email type class. |
755 | 755 | */ |
756 | 756 | $this->from = apply_filters( 'bp_email_set_from', $from, $email_address, $name, $this ); |
757 | 757 | |
… |
… |
class BP_Email { |
776 | 776 | * @since 2.5.0 |
777 | 777 | * |
778 | 778 | * @param WP_Post $post A Post. |
779 | | * @param BP_Email $this Current instance of the email type class. |
| 779 | * @param BP_Email $email Current instance of the email type class. |
780 | 780 | */ |
781 | 781 | $this->post_object = apply_filters( 'bp_email_set_post_object', $post, $this ); |
782 | 782 | |
… |
… |
class BP_Email { |
835 | 835 | * @param string|array|int|WP_User $email_address Either a email address, user ID, WP_User object, |
836 | 836 | * or an array containing any combination of the above. |
837 | 837 | * @param string $name Optional. If $email_address is a string, this is the recipient's name. |
838 | | * @param BP_Email $this Current instance of the email type class. |
| 838 | * @param BP_Email $email Current instance of the email type class. |
839 | 839 | */ |
840 | 840 | $this->reply_to = apply_filters( 'bp_email_set_reply_to', $reply_to, $email_address, $name, $this ); |
841 | 841 | |
… |
… |
class BP_Email { |
858 | 858 | * @since 2.5.0 |
859 | 859 | * |
860 | 860 | * @param string $subject Email subject. |
861 | | * @param BP_Email $this Current instance of the email type class. |
| 861 | * @param BP_Email $email Current instance of the email type class. |
862 | 862 | */ |
863 | 863 | $this->subject = apply_filters( 'bp_email_set_subject', $subject, $this ); |
864 | 864 | |
… |
… |
class BP_Email { |
884 | 884 | * @since 2.5.0 |
885 | 885 | * |
886 | 886 | * @param string $template Email template. Assumed to be HTML. |
887 | | * @param BP_Email $this Current instance of the email type class. |
| 887 | * @param BP_Email $email Current instance of the email type class. |
888 | 888 | */ |
889 | 889 | $this->template = apply_filters( 'bp_email_set_template', $template, $this ); |
890 | 890 | |
… |
… |
class BP_Email { |
936 | 936 | * @param string $name "To" name. |
937 | 937 | * @param string $operation If "replace", $to_address replaced previous recipients. If "add", |
938 | 938 | * $to_address was added to the array of recipients. |
939 | | * @param BP_Email $this Current instance of the email type class. |
| 939 | * @param BP_Email $email Current instance of the email type class. |
940 | 940 | */ |
941 | 941 | $this->to = apply_filters( 'bp_email_set_to', $to, $to_address, $name, $operation, $this ); |
942 | 942 | |
… |
… |
class BP_Email { |
972 | 972 | * and replacement values (value). |
973 | 973 | * @param string[] $tokens Associative pairing of unformatted token |
974 | 974 | * names (key) and replacement values (value). |
975 | | * @param BP_Email $this Current instance of the email type class. |
| 975 | * @param BP_Email $email Current instance of the email type class. |
976 | 976 | */ |
977 | 977 | $this->tokens = apply_filters( 'bp_email_set_tokens', $formatted_tokens, $tokens, $this ); |
978 | 978 | |
… |
… |
class BP_Email { |
1021 | 1021 | * @since 2.5.0 |
1022 | 1022 | * |
1023 | 1023 | * @param bool|WP_Error $retval Returns true if validation succesful, else a descriptive WP_Error. |
1024 | | * @param BP_Email $this Current instance of the email type class. |
| 1024 | * @param BP_Email $email Current instance of the email type class. |
1025 | 1025 | */ |
1026 | 1026 | return apply_filters( 'bp_email_validate', $retval, $this ); |
1027 | 1027 | } |
-
diff --git a/src/bp-core/classes/class-bp-embed.php b/src/bp-core/classes/class-bp-embed.php
index cd80fc468..6eefb642a 100644
a
|
b
|
class BP_Embed extends WP_Embed { |
55 | 55 | * |
56 | 56 | * @since 1.5.0 |
57 | 57 | * |
58 | | * @param BP_Embed $this Current instance of the BP_Embed. Passed by reference. |
| 58 | * @param BP_Embed $embed Current instance of the BP_Embed. Passed by reference. |
59 | 59 | */ |
60 | 60 | do_action_ref_array( 'bp_core_setup_oembed', array( &$this ) ); |
61 | 61 | } |
-
diff --git a/src/bp-core/classes/class-bp-members-suggestions.php b/src/bp-core/classes/class-bp-members-suggestions.php
index 65f7cc749..85074e76d 100644
a
|
b
|
class BP_Members_Suggestions extends BP_Suggestions { |
55 | 55 | * @since 2.1.0 |
56 | 56 | * |
57 | 57 | * @param array $args Array of arguments for the member suggestions. |
58 | | * @param BP_Members_Suggestions $this Current BP_Members_Suggestions instance. |
| 58 | * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. |
59 | 59 | */ |
60 | 60 | $this->args = apply_filters( 'bp_members_suggestions_args', $this->args, $this ); |
61 | 61 | |
… |
… |
class BP_Members_Suggestions extends BP_Suggestions { |
70 | 70 | * @since 2.1.0 |
71 | 71 | * |
72 | 72 | * @param bool|WP_Error $value Results of validation check. |
73 | | * @param BP_Members_Suggestions $this Current BP_Members_Suggestions instance. |
| 73 | * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. |
74 | 74 | */ |
75 | 75 | return apply_filters( 'bp_members_suggestions_validate_args', parent::validate(), $this ); |
76 | 76 | } |
… |
… |
class BP_Members_Suggestions extends BP_Suggestions { |
105 | 105 | * @since 2.1.0 |
106 | 106 | * |
107 | 107 | * @param array $user_query Array of query arguments. |
108 | | * @param BP_Members_Suggestions $this Current BP_Members_Suggestions instance. |
| 108 | * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. |
109 | 109 | */ |
110 | 110 | $user_query = apply_filters( 'bp_members_suggestions_query_args', $user_query, $this ); |
111 | 111 | if ( is_wp_error( $user_query ) ) { |
… |
… |
class BP_Members_Suggestions extends BP_Suggestions { |
132 | 132 | * @since 2.1.0 |
133 | 133 | * |
134 | 134 | * @param array $results Array of users to suggest. |
135 | | * @param BP_Members_Suggestions $this Current BP_Members_Suggestions instance. |
| 135 | * @param BP_Members_Suggestions $suggestions Current BP_Members_Suggestions instance. |
136 | 136 | */ |
137 | 137 | return apply_filters( 'bp_members_suggestions_get_suggestions', $results, $this ); |
138 | 138 | } |
-
diff --git a/src/bp-core/classes/class-bp-suggestions.php b/src/bp-core/classes/class-bp-suggestions.php
index 1441d999a..6171b99de 100644
a
|
b
|
abstract class BP_Suggestions { |
106 | 106 | * @since 2.1.0 |
107 | 107 | * |
108 | 108 | * @param BP_Suggestions $value Arguments to be validated. |
109 | | * @param BP_Suggestions $this Current BP_Suggestions instance. |
| 109 | * @param BP_Suggestions $suggestions Current BP_Suggestions instance. |
110 | 110 | */ |
111 | 111 | $this->args = apply_filters( 'bp_suggestions_args', $this->args, $this ); |
112 | 112 | |
… |
… |
abstract class BP_Suggestions { |
126 | 126 | * @since 2.1.0 |
127 | 127 | * |
128 | 128 | * @param bool $value Whether or not the values are valid. |
129 | | * @param BP_Suggestions $this Current BP_Suggestions instance. |
| 129 | * @param BP_Suggestions $suggestions Current BP_Suggestions instance. |
130 | 130 | */ |
131 | 131 | return apply_filters( 'bp_suggestions_validate_args', true, $this ); |
132 | 132 | } |
-
diff --git a/src/bp-core/classes/class-bp-user-query.php b/src/bp-core/classes/class-bp-user-query.php
index 304875ab6..7bfe4a1a6 100644
a
|
b
|
class BP_User_Query { |
187 | 187 | * |
188 | 188 | * @since 1.7.0 |
189 | 189 | * |
190 | | * @param BP_User_Query $this Current instance of the BP_User_Query. Passed by reference. |
| 190 | * @param BP_User_Query $query Current instance of the BP_User_Query. Passed by reference. |
191 | 191 | */ |
192 | 192 | do_action_ref_array( 'bp_pre_user_query_construct', array( &$this ) ); |
193 | 193 | |
… |
… |
class BP_User_Query { |
494 | 494 | * @since 2.0.0 |
495 | 495 | * |
496 | 496 | * @param array $sql Array of SQL clauses to be used in the query. |
497 | | * @param BP_User_Query $this Current BP_User_Query instance. |
| 497 | * @param BP_User_Query $query Current BP_User_Query instance. |
498 | 498 | */ |
499 | 499 | $sql = apply_filters_ref_array( 'bp_user_query_uid_clauses', array( $sql, &$this ) ); |
500 | 500 | |
… |
… |
class BP_User_Query { |
510 | 510 | * |
511 | 511 | * @since 1.7.0 |
512 | 512 | * |
513 | | * @param BP_User_Query $this Current BP_User_Query instance. Passed by reference. |
| 513 | * @param BP_User_Query $query Current BP_User_Query instance. Passed by reference. |
514 | 514 | */ |
515 | 515 | do_action_ref_array( 'bp_pre_user_query', array( &$this ) ); |
516 | 516 | } |
… |
… |
class BP_User_Query { |
549 | 549 | * @since 1.7.0 |
550 | 550 | * |
551 | 551 | * @param string $value SQL statement to select FOUND_ROWS(). |
552 | | * @param BP_User_Query $this Current BP_User_Query instance. |
| 552 | * @param BP_User_Query $query Current BP_User_Query instance. |
553 | 553 | */ |
554 | 554 | $this->total_users = $wpdb->get_var( apply_filters( 'bp_found_user_query', "SELECT FOUND_ROWS()", $this ) ); |
555 | 555 | } elseif ( 'count_query' == $this->query_vars['count_total'] ) { |
… |
… |
class BP_User_Query { |
579 | 579 | * @since 1.7.0 |
580 | 580 | * |
581 | 581 | * @param array $value Array of arguments for the user query. |
582 | | * @param BP_User_Query $this Current BP_User_Query instance. |
| 582 | * @param BP_User_Query $query Current BP_User_Query instance. |
583 | 583 | */ |
584 | 584 | $wp_user_query = new WP_User_Query( apply_filters( 'bp_wp_user_query_args', array( |
585 | 585 | |
… |
… |
class BP_User_Query { |
696 | 696 | * |
697 | 697 | * @since 1.7.0 |
698 | 698 | * |
699 | | * @param BP_User_Query $this Current BP_User_Query instance. |
| 699 | * @param BP_User_Query $query Current BP_User_Query instance. |
700 | 700 | * @param string $user_ids_sql Comma-separated string of user IDs. |
701 | 701 | */ |
702 | 702 | do_action_ref_array( 'bp_user_query_populate_extras', array( $this, $user_ids_sql ) ); |
-
diff --git a/src/bp-groups/bp-groups-admin.php b/src/bp-groups/bp-groups-admin.php
index 93564e60b..9aea70a6e 100644
a
|
b
|
function bp_groups_admin_edit() { |
646 | 646 | * |
647 | 647 | * @since 1.7.0 |
648 | 648 | * |
649 | | * @param BP_Groups_Group $this Instance of the current group being edited. Passed by reference. |
| 649 | * @param BP_Groups_Group $group Instance of the current group being edited. Passed by reference. |
650 | 650 | */ |
651 | 651 | do_action_ref_array( 'bp_groups_admin_edit', array( &$group ) ); ?> |
652 | 652 | |
-
diff --git a/src/bp-groups/classes/class-bp-group-member-query.php b/src/bp-groups/classes/class-bp-group-member-query.php
index d91224978..40290e737 100644
a
|
b
|
class BP_Group_Member_Query extends BP_User_Query { |
109 | 109 | * @since 10.3.0 |
110 | 110 | * |
111 | 111 | * @param array $value Array of arguments for the user query. |
112 | | * @param BP_User_Query $this Current BP_User_Query instance. |
| 112 | * @param BP_User_Query $query Current BP_User_Query instance. |
113 | 113 | */ |
114 | 114 | $wp_user_query = new WP_User_Query( |
115 | 115 | apply_filters( |
… |
… |
class BP_Group_Member_Query extends BP_User_Query { |
367 | 367 | * @since 2.0.0 |
368 | 368 | * |
369 | 369 | * @param array $group_member_ids Array of associated member IDs. |
370 | | * @param BP_Group_Member_Query $this Current BP_Group_Member_Query instance. |
| 370 | * @param BP_Group_Member_Query $query Current BP_Group_Member_Query instance. |
371 | 371 | */ |
372 | 372 | $this->group_member_ids = apply_filters( 'bp_group_member_query_group_member_ids', $this->group_member_ids, $this ); |
373 | 373 | |
-
diff --git a/src/bp-groups/classes/class-bp-groups-group-members-template.php b/src/bp-groups/classes/class-bp-groups-group-members-template.php
index 8ebd96825..1fce407e2 100644
a
|
b
|
class BP_Groups_Group_Members_Template { |
246 | 246 | * @since 2.3.0 `$this` parameter added. |
247 | 247 | * @since 2.7.0 Action renamed from `loop_end`. |
248 | 248 | * |
249 | | * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. |
| 249 | * @param BP_Groups_Group_Members_Template $template Instance of the current Members template. |
250 | 250 | */ |
251 | 251 | do_action( 'group_members_loop_end', $this ); |
252 | 252 | |
… |
… |
class BP_Groups_Group_Members_Template { |
277 | 277 | * @since 2.3.0 `$this` parameter added. |
278 | 278 | * @since 2.7.0 Action renamed from `loop_start`. |
279 | 279 | * |
280 | | * @param BP_Groups_Group_Members_Template $this Instance of the current Members template. |
| 280 | * @param BP_Groups_Group_Members_Template $template Instance of the current Members template. |
281 | 281 | */ |
282 | 282 | do_action( 'group_members_loop_start', $this ); |
283 | 283 | } |
-
diff --git a/src/bp-groups/classes/class-bp-groups-group.php b/src/bp-groups/classes/class-bp-groups-group.php
index e837d72ed..1a3de2fc4 100644
a
|
b
|
class BP_Groups_Group { |
287 | 287 | * |
288 | 288 | * @since 1.0.0 |
289 | 289 | * |
290 | | * @param BP_Groups_Group $this Current instance of the group item being saved. Passed by reference. |
| 290 | * @param BP_Groups_Group $group Current instance of the group item being saved. Passed by reference. |
291 | 291 | */ |
292 | 292 | do_action_ref_array( 'groups_group_before_save', array( &$this ) ); |
293 | 293 | |
… |
… |
class BP_Groups_Group { |
371 | 371 | * |
372 | 372 | * @since 1.0.0 |
373 | 373 | * |
374 | | * @param BP_Groups_Group $this Current instance of the group item that was saved. Passed by reference. |
| 374 | * @param BP_Groups_Group $group Current instance of the group item that was saved. Passed by reference. |
375 | 375 | */ |
376 | 376 | do_action_ref_array( 'groups_group_after_save', array( &$this ) ); |
377 | 377 | |
… |
… |
class BP_Groups_Group { |
408 | 408 | * |
409 | 409 | * @since 1.2.0 |
410 | 410 | * |
411 | | * @param BP_Groups_Group $this Current instance of the group item being deleted. Passed by reference. |
| 411 | * @param BP_Groups_Group $group Current instance of the group item being deleted. Passed by reference. |
412 | 412 | * @param array $user_ids Array of user IDs that were members of the group. |
413 | 413 | */ |
414 | 414 | do_action_ref_array( 'bp_groups_delete_group', array( &$this, $user_ids ) ); |
-
diff --git a/src/bp-groups/classes/class-bp-groups-invite-template.php b/src/bp-groups/classes/class-bp-groups-invite-template.php
index 9375f813f..25d92e106 100644
a
|
b
|
class BP_Groups_Invite_Template { |
204 | 204 | * @since 2.3.0 `$this` parameter added. |
205 | 205 | * @since 2.7.0 Action renamed from `loop_start`. |
206 | 206 | * |
207 | | * @param BP_Groups_Invite_Template $this Instance of the current Invites template. |
| 207 | * @param BP_Groups_Invite_Template $template Instance of the current Invites template. |
208 | 208 | */ |
209 | 209 | do_action( 'group_invitation_loop_end', $this ); |
210 | 210 | |
… |
… |
class BP_Groups_Invite_Template { |
306 | 306 | * @since 2.3.0 `$this` parameter added. |
307 | 307 | * @since 2.7.0 Action renamed from `loop_start`. |
308 | 308 | * |
309 | | * @param BP_Groups_Invite_Template $this Instance of the current Invites template. |
| 309 | * @param BP_Groups_Invite_Template $template Instance of the current Invites template. |
310 | 310 | */ |
311 | 311 | do_action( 'group_invitation_loop_start', $this ); |
312 | 312 | } |
-
diff --git a/src/bp-groups/classes/class-bp-groups-member-suggestions.php b/src/bp-groups/classes/class-bp-groups-member-suggestions.php
index e8b7fbb58..ae4daa4f3 100644
a
|
b
|
class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { |
55 | 55 | * @since 2.1.0 |
56 | 56 | * |
57 | 57 | * @param array $args Array of arguments for the suggestion service query. |
58 | | * @param BP_Groups_Member_Suggestions $this Instance of the current suggestion class. |
| 58 | * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. |
59 | 59 | */ |
60 | 60 | $this->args = apply_filters( 'bp_groups_member_suggestions_args', $this->args, $this ); |
61 | 61 | |
… |
… |
class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { |
77 | 77 | * @since 2.1.0 |
78 | 78 | * |
79 | 79 | * @param bool|WP_Error $value True if valid, WP_Error if not. |
80 | | * @param BP_Groups_Member_Suggestions $this Instance of the current suggestion class. |
| 80 | * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. |
81 | 81 | */ |
82 | 82 | return apply_filters( 'bp_groups_member_suggestions_validate_args', parent::validate(), $this ); |
83 | 83 | } |
… |
… |
class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { |
135 | 135 | * @since 2.1.0 |
136 | 136 | * |
137 | 137 | * @param array $user_query Array of arguments for the query. |
138 | | * @param BP_Groups_Member_Suggestions $this Instance of the current suggestion class. |
| 138 | * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. |
139 | 139 | */ |
140 | 140 | $user_query = apply_filters( 'bp_groups_member_suggestions_query_args', $user_query, $this ); |
141 | 141 | if ( is_wp_error( $user_query ) ) { |
… |
… |
class BP_Groups_Member_Suggestions extends BP_Members_Suggestions { |
166 | 166 | * @since 2.1.0 |
167 | 167 | * |
168 | 168 | * @param array $results Array of member suggestions. |
169 | | * @param BP_Groups_Member_Suggestions $this Instance of the current suggestion class. |
| 169 | * @param BP_Groups_Member_Suggestions $suggestions Instance of the current suggestion class. |
170 | 170 | */ |
171 | 171 | return apply_filters( 'bp_groups_member_suggestions_get_suggestions', $results, $this ); |
172 | 172 | } |
-
diff --git a/src/bp-groups/classes/class-bp-groups-member.php b/src/bp-groups/classes/class-bp-groups-member.php
index 10d511d45..3a67f36c0 100644
a
|
b
|
class BP_Groups_Member { |
281 | 281 | * |
282 | 282 | * @since 1.0.0 |
283 | 283 | * |
284 | | * @param BP_Groups_Member $this Current instance of the group membership item being saved. Passed by reference. |
| 284 | * @param BP_Groups_Member $member Current instance of the group membership item being saved. Passed by reference. |
285 | 285 | */ |
286 | 286 | do_action_ref_array( 'groups_member_before_save', array( &$this ) ); |
287 | 287 | |
… |
… |
class BP_Groups_Member { |
316 | 316 | * |
317 | 317 | * @since 1.0.0 |
318 | 318 | * |
319 | | * @param BP_Groups_Member $this Current instance of the group membership item has been saved. Passed by reference. |
| 319 | * @param BP_Groups_Member $member Current instance of the group membership item has been saved. Passed by reference. |
320 | 320 | */ |
321 | 321 | do_action_ref_array( 'groups_member_after_save', array( &$this ) ); |
322 | 322 | |
… |
… |
class BP_Groups_Member { |
431 | 431 | * |
432 | 432 | * @since 2.3.0 |
433 | 433 | * |
434 | | * @param BP_Groups_Member $this Current group membership object. |
| 434 | * @param BP_Groups_Member $member Current group membership object. |
435 | 435 | */ |
436 | 436 | do_action_ref_array( 'groups_member_before_remove', array( $this ) ); |
437 | 437 | |
… |
… |
class BP_Groups_Member { |
449 | 449 | * |
450 | 450 | * @since 2.3.0 |
451 | 451 | * |
452 | | * @param BP_Groups_Member $this Current group membership object. |
| 452 | * @param BP_Groups_Member $member Current group membership object. |
453 | 453 | */ |
454 | 454 | do_action_ref_array( 'groups_member_after_remove', array( $this ) ); |
455 | 455 | |
-
diff --git a/src/bp-messages/classes/class-bp-messages-message.php b/src/bp-messages/classes/class-bp-messages-message.php
index 646b7ed72..bbdb86ab0 100644
a
|
b
|
class BP_Messages_Message { |
127 | 127 | * |
128 | 128 | * @since 1.0.0 |
129 | 129 | * |
130 | | * @param BP_Messages_Message $this Current instance of the message item being saved. Passed by reference. |
| 130 | * @param BP_Messages_Message $message Current instance of the message item being saved. Passed by reference. |
131 | 131 | */ |
132 | 132 | do_action_ref_array( 'messages_message_before_save', array( &$this ) ); |
133 | 133 | |
… |
… |
class BP_Messages_Message { |
176 | 176 | * |
177 | 177 | * @since 1.0.0 |
178 | 178 | * |
179 | | * @param BP_Messages_Message $this Current instance of the message item being saved. Passed by reference. |
| 179 | * @param BP_Messages_Message $message Current instance of the message item being saved. Passed by reference. |
180 | 180 | */ |
181 | 181 | do_action_ref_array( 'messages_message_after_save', array( &$this ) ); |
182 | 182 | |
-
diff --git a/src/bp-messages/classes/class-bp-messages-notice.php b/src/bp-messages/classes/class-bp-messages-notice.php
index f0061d511..65658d1b8 100644
a
|
b
|
class BP_Messages_Notice { |
118 | 118 | * |
119 | 119 | * @since 1.0.0 |
120 | 120 | * |
121 | | * @param BP_Messages_Notice $this Current instance of the message notice item being saved. Passed by reference. |
| 121 | * @param BP_Messages_Notice $notice Current instance of the message notice item being saved. Passed by reference. |
122 | 122 | */ |
123 | 123 | do_action_ref_array( 'messages_notice_before_save', array( &$this ) ); |
124 | 124 | |
… |
… |
class BP_Messages_Notice { |
146 | 146 | * |
147 | 147 | * @since 1.0.0 |
148 | 148 | * |
149 | | * @param BP_Messages_Notice $this Current instance of the message item being saved. Passed by reference. |
| 149 | * @param BP_Messages_Notice $notice Current instance of the message item being saved. Passed by reference. |
150 | 150 | */ |
151 | 151 | do_action_ref_array( 'messages_notice_after_save', array( &$this ) ); |
152 | 152 | |
… |
… |
class BP_Messages_Notice { |
195 | 195 | * |
196 | 196 | * @since 1.0.0 |
197 | 197 | * |
198 | | * @param BP_Messages_Notice $this Current instance of the message notice item being deleted. |
| 198 | * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted. |
199 | 199 | */ |
200 | 200 | do_action( 'messages_notice_before_delete', $this ); |
201 | 201 | |
… |
… |
class BP_Messages_Notice { |
211 | 211 | * |
212 | 212 | * @since 2.8.0 |
213 | 213 | * |
214 | | * @param BP_Messages_Notice $this Current instance of the message notice item being deleted. |
| 214 | * @param BP_Messages_Notice $notice Current instance of the message notice item being deleted. |
215 | 215 | */ |
216 | 216 | do_action( 'messages_notice_after_delete', $this ); |
217 | 217 | |
-
diff --git a/src/bp-messages/classes/class-bp-messages-thread.php b/src/bp-messages/classes/class-bp-messages-thread.php
index 4032bd6bd..8f04e7bf7 100644
a
|
b
|
class BP_Messages_Thread { |
219 | 219 | * @since 2.2.0 |
220 | 220 | * @since 10.0.0 Added `$r` as a parameter. |
221 | 221 | * |
222 | | * @param BP_Messages_Thread $this Message thread object. |
| 222 | * @param BP_Messages_Thread $thread Message thread object. |
223 | 223 | * @param array $r Array of paremeters. |
224 | 224 | */ |
225 | 225 | do_action( 'bp_messages_thread_post_populate', $this, $r ); |
-
diff --git a/src/bp-templates/bp-legacy/buddypress-functions.php b/src/bp-templates/bp-legacy/buddypress-functions.php
index d3ebe988a..fd74fa6d2 100644
a
|
b
|
class BP_Legacy extends BP_Theme_Compat { |
197 | 197 | * |
198 | 198 | * @since 1.7.0 |
199 | 199 | * |
200 | | * @param BP_Legacy $this Current BP_Legacy instance. |
| 200 | * @param BP_Legacy $legacy Current BP_Legacy instance. |
201 | 201 | */ |
202 | 202 | do_action_ref_array( 'bp_theme_compat_actions', array( &$this ) ); |
203 | 203 | } |
-
diff --git a/src/bp-templates/bp-nouveau/buddypress-functions.php b/src/bp-templates/bp-nouveau/buddypress-functions.php
index c869799c4..36c75a96b 100644
a
|
b
|
class BP_Nouveau extends BP_Theme_Compat { |
128 | 128 | * |
129 | 129 | * @since 3.0.0 |
130 | 130 | * |
131 | | * @param BP_Nouveau $value Current BP_Nouveau instance. |
| 131 | * @param BP_Nouveau $nouveau Current BP_Nouveau instance. |
132 | 132 | */ |
133 | 133 | do_action_ref_array( 'bp_nouveau_includes', array( &$this ) ); |
134 | 134 | } |
… |
… |
class BP_Nouveau extends BP_Theme_Compat { |
234 | 234 | * |
235 | 235 | * @since 3.0.0 |
236 | 236 | * |
237 | | * @param BP_Nouveau $this Current BP_Nouveau instance. |
| 237 | * @param BP_Nouveau $nouveau Current BP_Nouveau instance. |
238 | 238 | */ |
239 | 239 | do_action_ref_array( 'bp_theme_compat_actions', array( &$this ) ); |
240 | 240 | } |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox-acceptance.php
index 4b74b8a33..db6caab03 100644
a
|
b
|
class BP_XProfile_Field_Type_Checkbox_Acceptance extends BP_XProfile_Field_Type |
64 | 64 | * |
65 | 65 | * @since 8.0.0 |
66 | 66 | * |
67 | | * @param BP_XProfile_Field_Type_Checkbox_Acceptance $this Current instance of the Checkbox Acceptance field type. |
| 67 | * @param BP_XProfile_Field_Type_Checkbox_Acceptance $acceptance Current instance of the Checkbox Acceptance field type. |
68 | 68 | */ |
69 | 69 | do_action( 'bp_xprofile_field_type_checkbox_acceptance', $this ); |
70 | 70 | |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-checkbox.php
index f3717d3dc..6d53450d8 100644
a
|
b
|
class BP_XProfile_Field_Type_Checkbox extends BP_XProfile_Field_Type { |
39 | 39 | * |
40 | 40 | * @since 2.0.0 |
41 | 41 | * |
42 | | * @param BP_XProfile_Field_Type_Checkbox $this Current instance of |
| 42 | * @param BP_XProfile_Field_Type_Checkbox $checkbox Current instance of |
43 | 43 | * the field type checkbox. |
44 | 44 | */ |
45 | 45 | do_action( 'bp_xprofile_field_type_checkbox', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-datebox.php
index 908b3d17a..44ce0c3b5 100644
a
|
b
|
class BP_XProfile_Field_Type_Datebox extends BP_XProfile_Field_Type { |
37 | 37 | * |
38 | 38 | * @since 2.0.0 |
39 | 39 | * |
40 | | * @param BP_XProfile_Field_Type_Datebox $this Current instance of |
| 40 | * @param BP_XProfile_Field_Type_Datebox $datebox Current instance of |
41 | 41 | * the field type datebox. |
42 | 42 | */ |
43 | 43 | do_action( 'bp_xprofile_field_type_datebox', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-multiselectbox.php
index 84c0e715e..d93bb4710 100644
a
|
b
|
class BP_XProfile_Field_Type_Multiselectbox extends BP_XProfile_Field_Type { |
39 | 39 | * |
40 | 40 | * @since 2.0.0 |
41 | 41 | * |
42 | | * @param BP_XProfile_Field_Type_Multiselectbox $this Current instance of |
| 42 | * @param BP_XProfile_Field_Type_Multiselectbox $multiselectbox Current instance of |
43 | 43 | * the field type multiple select box. |
44 | 44 | */ |
45 | 45 | do_action( 'bp_xprofile_field_type_multiselectbox', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-number.php
index 1bc56287b..406c8c00e 100644
a
|
b
|
class BP_XProfile_Field_Type_Number extends BP_XProfile_Field_Type { |
35 | 35 | * |
36 | 36 | * @since 2.0.0 |
37 | 37 | * |
38 | | * @param BP_XProfile_Field_Type_Number $this Current instance of |
| 38 | * @param BP_XProfile_Field_Type_Number $number Current instance of |
39 | 39 | * the field type number. |
40 | 40 | */ |
41 | 41 | do_action( 'bp_xprofile_field_type_number', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-radiobutton.php
index 8c5fbbe54..aff6876c0 100644
a
|
b
|
class BP_XProfile_Field_Type_Radiobutton extends BP_XProfile_Field_Type { |
37 | 37 | * |
38 | 38 | * @since 2.0.0 |
39 | 39 | * |
40 | | * @param BP_XProfile_Field_Type_Radiobutton $this Current instance of |
| 40 | * @param BP_XProfile_Field_Type_Radiobutton $radio_button Current instance of |
41 | 41 | * the field type radio button. |
42 | 42 | */ |
43 | 43 | do_action( 'bp_xprofile_field_type_radiobutton', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-selectbox.php
index 15cb980b9..17317e825 100644
a
|
b
|
class BP_XProfile_Field_Type_Selectbox extends BP_XProfile_Field_Type { |
37 | 37 | * |
38 | 38 | * @since 2.0.0 |
39 | 39 | * |
40 | | * @param BP_XProfile_Field_Type_Selectbox $this Current instance of |
| 40 | * @param BP_XProfile_Field_Type_Selectbox $selectbox Current instance of |
41 | 41 | * the field type select box. |
42 | 42 | */ |
43 | 43 | do_action( 'bp_xprofile_field_type_selectbox', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-telephone.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-telephone.php
index aa8544b47..fd0edcb22 100644
a
|
b
|
class BP_XProfile_Field_Type_Telephone extends BP_XProfile_Field_Type { |
35 | 35 | * |
36 | 36 | * @since 3.0.0 |
37 | 37 | * |
38 | | * @param BP_XProfile_Field_Type_Telephone $this Current instance of the field type. |
| 38 | * @param BP_XProfile_Field_Type_Telephone $telephone Current instance of the field type. |
39 | 39 | */ |
40 | 40 | do_action( 'bp_xprofile_field_type_telephone', $this ); |
41 | 41 | } |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-textarea.php
index 1e48da791..45d5eb0f8 100644
a
|
b
|
class BP_XProfile_Field_Type_Textarea extends BP_XProfile_Field_Type { |
36 | 36 | * |
37 | 37 | * @since 2.0.0 |
38 | 38 | * |
39 | | * @param BP_XProfile_Field_Type_Textarea $this Current instance of |
| 39 | * @param BP_XProfile_Field_Type_Textarea $textarea Current instance of |
40 | 40 | * the field type textarea. |
41 | 41 | */ |
42 | 42 | do_action( 'bp_xprofile_field_type_textarea', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-textbox.php
index 45726a6c2..636cc53f1 100644
a
|
b
|
class BP_XProfile_Field_Type_Textbox extends BP_XProfile_Field_Type { |
35 | 35 | * |
36 | 36 | * @since 2.0.0 |
37 | 37 | * |
38 | | * @param BP_XProfile_Field_Type_Textbox $this Current instance of |
| 38 | * @param BP_XProfile_Field_Type_Textbox $textbox Current instance of |
39 | 39 | * the field type text box. |
40 | 40 | */ |
41 | 41 | do_action( 'bp_xprofile_field_type_textbox', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-url.php
index 15b4bb0f0..7d6738a46 100644
a
|
b
|
class BP_XProfile_Field_Type_URL extends BP_XProfile_Field_Type { |
45 | 45 | * |
46 | 46 | * @since 2.0.0 |
47 | 47 | * |
48 | | * @param BP_XProfile_Field_Type_URL $this Current instance of |
| 48 | * @param BP_XProfile_Field_Type_URL $URL Current instance of |
49 | 49 | * the field type URL. |
50 | 50 | */ |
51 | 51 | do_action( 'bp_xprofile_field_type_url', $this ); |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-biography.php
index 8a20035f5..07552ed55 100644
a
|
b
|
class BP_XProfile_Field_Type_WordPress_Biography extends BP_XProfile_Field_Type_ |
37 | 37 | * |
38 | 38 | * @since 8.0.0 |
39 | 39 | * |
40 | | * @param BP_XProfile_Field_Type_WordPress_Biography $this Instance of the field type object. |
| 40 | * @param BP_XProfile_Field_Type_WordPress_Biography $biography Instance of the field type object. |
41 | 41 | */ |
42 | 42 | do_action( 'bp_xprofile_field_type_wordpress_biography', $this ); |
43 | 43 | } |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress-textbox.php
index 4024f1a52..17eb446ae 100644
a
|
b
|
class BP_XProfile_Field_Type_WordPress_Textbox extends BP_XProfile_Field_Type_Wo |
38 | 38 | * |
39 | 39 | * @since 8.0.0 |
40 | 40 | * |
41 | | * @param BP_XProfile_Field_Type_WordPress_Textbox $this Instance of the field type object. |
| 41 | * @param BP_XProfile_Field_Type_WordPress_Textbox $textbox Instance of the field type object. |
42 | 42 | */ |
43 | 43 | do_action( 'bp_xprofile_field_type_wordpress_textbox', $this ); |
44 | 44 | |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type-wordpress.php
index fc48228b8..93c79f559 100644
a
|
b
|
abstract class BP_XProfile_Field_Type_WordPress extends BP_XProfile_Field_Type { |
72 | 72 | * |
73 | 73 | * @since 8.0.0 |
74 | 74 | * |
75 | | * @param BP_XProfile_Field_Type_WordPress $this Instance of the field type object. |
| 75 | * @param BP_XProfile_Field_Type_WordPress $field_type Instance of the field type object. |
76 | 76 | */ |
77 | 77 | do_action( 'bp_xprofile_field_type_wordpress', $this ); |
78 | 78 | |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field-type.php b/src/bp-xprofile/classes/class-bp-xprofile-field-type.php
index 4c605eb7d..3a76fcb8c 100644
a
|
b
|
abstract class BP_XProfile_Field_Type { |
110 | 110 | * |
111 | 111 | * @since 2.0.0 |
112 | 112 | * |
113 | | * @param BP_XProfile_Field_Type $this Current instance of |
| 113 | * @param BP_XProfile_Field_Type $field_type Current instance of |
114 | 114 | * the field type class. |
115 | 115 | */ |
116 | 116 | do_action( 'bp_xprofile_field_type', $this ); |
… |
… |
abstract class BP_XProfile_Field_Type { |
139 | 139 | * @param string $format Regex string. |
140 | 140 | * @param string $replace_format Optional replace format If "replace", replaces the |
141 | 141 | * 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. |
| 142 | * @param BP_XProfile_Field_Type $field_type Current instance of the BP_XProfile_Field_Type class. |
143 | 143 | */ |
144 | 144 | $format = apply_filters( 'bp_xprofile_field_type_set_format', $format, $replace_format, $this ); |
145 | 145 | |
… |
… |
abstract class BP_XProfile_Field_Type { |
188 | 188 | * |
189 | 189 | * @param string $value Field value. |
190 | 190 | * @param array $values Original array of values. |
191 | | * @param BP_XProfile_Field_Type $this Current instance of the BP_XProfile_Field_Type class. |
| 191 | * @param BP_XProfile_Field_Type $field_type Current instance of the BP_XProfile_Field_Type class. |
192 | 192 | */ |
193 | 193 | $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' ); |
194 | 194 | |
… |
… |
abstract class BP_XProfile_Field_Type { |
199 | 199 | * |
200 | 200 | * @param string $value Field value. |
201 | 201 | * @param array $values Original array of values. |
202 | | * @param BP_XProfile_Field_Type $this Current instance of the BP_XProfile_Field_Type class. |
| 202 | * @param BP_XProfile_Field_Type $field_type Current instance of the BP_XProfile_Field_Type class. |
203 | 203 | */ |
204 | 204 | $this->validation_allowed_values[] = apply_filters( 'bp_xprofile_field_type_set_allowed_values', $value, $values, $this ); |
205 | 205 | } |
… |
… |
abstract class BP_XProfile_Field_Type { |
257 | 257 | * |
258 | 258 | * @param bool $validated Whether or not the field type is valid. |
259 | 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. |
| 260 | * @param BP_XProfile_Field_Type $field_type Current instance of the BP_XProfile_Field_Type class. |
261 | 261 | */ |
262 | 262 | return (bool) apply_filters( 'bp_xprofile_field_type_is_valid', $validated, $values, $this ); |
263 | 263 | } |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-field.php b/src/bp-xprofile/classes/class-bp-xprofile-field.php
index c42b11fb5..b05d7a559 100644
a
|
b
|
class BP_XProfile_Field { |
196 | 196 | * |
197 | 197 | * @since 8.0.0 |
198 | 198 | * |
199 | | * @param BP_XProfile_Field $this The xProfile field object. |
| 199 | * @param BP_XProfile_Field $field The xProfile field object. |
200 | 200 | */ |
201 | 201 | do_action( 'bp_xprofile_field', $this ); |
202 | 202 | } |
… |
… |
class BP_XProfile_Field { |
366 | 366 | * |
367 | 367 | * @since 3.0.0 |
368 | 368 | * |
369 | | * @param BP_XProfile_Field $this Current 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 | */ |
372 | 372 | do_action_ref_array( 'xprofile_field_before_delete', array( &$this, $delete_data ) ); |
… |
… |
class BP_XProfile_Field { |
391 | 391 | * |
392 | 392 | * @since 3.0.0 |
393 | 393 | * |
394 | | * @param BP_XProfile_Field $this Current 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 | */ |
397 | 397 | do_action_ref_array( 'xprofile_field_after_delete', array( &$this, $delete_data ) ); |
… |
… |
class BP_XProfile_Field { |
432 | 432 | * |
433 | 433 | * @since 1.0.0 |
434 | 434 | * |
435 | | * @param BP_XProfile_Field $this Current 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 ) ); |
438 | 438 | |
… |
… |
class BP_XProfile_Field { |
530 | 530 | * |
531 | 531 | * @since 1.0.0 |
532 | 532 | * |
533 | | * @param BP_XProfile_Field $this Current 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 ) ); |
536 | 536 | |
… |
… |
class BP_XProfile_Field { |
739 | 739 | * |
740 | 740 | * @since 2.4.0 |
741 | 741 | * |
742 | | * @param BP_XProfile_Field $this Field object. |
| 742 | * @param BP_XProfile_Field $field Field object. |
743 | 743 | */ |
744 | 744 | do_action( 'bp_xprofile_field_set_member_type', $this ); |
745 | 745 | |
… |
… |
class BP_XProfile_Field { |
909 | 909 | * @since 6.0.0 |
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 Field object. |
913 | 913 | */ |
914 | 914 | return apply_filters( 'bp_xprofile_field_do_autolink', $this->do_autolink, $this ); |
915 | 915 | } |
… |
… |
class BP_XProfile_Field { |
1317 | 1317 | * |
1318 | 1318 | * @since 2.2.0 |
1319 | 1319 | * |
1320 | | * @param BP_XProfile_Field $this Current XProfile field. |
| 1320 | * @param BP_XProfile_Field $field Current XProfile field. |
1321 | 1321 | */ |
1322 | 1322 | do_action( 'xprofile_field_after_sidebarbox', $this ); ?> |
1323 | 1323 | |
… |
… |
class BP_XProfile_Field { |
1332 | 1332 | * |
1333 | 1333 | * @since 2.3.0 |
1334 | 1334 | * |
1335 | | * @param BP_XProfile_Field $this Current XProfile field. |
| 1335 | * @param BP_XProfile_Field $field Current XProfile field. |
1336 | 1336 | */ |
1337 | 1337 | do_action( 'xprofile_field_before_contentbox', $this ); |
1338 | 1338 | |
… |
… |
class BP_XProfile_Field { |
1347 | 1347 | * |
1348 | 1348 | * @since 2.2.0 |
1349 | 1349 | * |
1350 | | * @param BP_XProfile_Field $this Current XProfile field. |
| 1350 | * @param BP_XProfile_Field $field Current XProfile field. |
1351 | 1351 | */ |
1352 | 1352 | do_action( 'xprofile_field_after_contentbox', $this ); ?> |
1353 | 1353 | |
… |
… |
class BP_XProfile_Field { |
1436 | 1436 | * |
1437 | 1437 | * @since 2.1.0 |
1438 | 1438 | * |
1439 | | * @param BP_XProfile_Field $this Current XProfile field. |
| 1439 | * @param BP_XProfile_Field $field Current XProfile field. |
1440 | 1440 | */ |
1441 | 1441 | do_action( 'xprofile_field_before_submitbox', $this ); ?> |
1442 | 1442 | |
… |
… |
class BP_XProfile_Field { |
1453 | 1453 | * |
1454 | 1454 | * @since 2.1.0 |
1455 | 1455 | * |
1456 | | * @param BP_XProfile_Field $this Current XProfile field. |
| 1456 | * @param BP_XProfile_Field $field Current XProfile field. |
1457 | 1457 | */ |
1458 | 1458 | do_action( 'xprofile_field_submitbox_start', $this ); ?> |
1459 | 1459 | |
… |
… |
class BP_XProfile_Field { |
1490 | 1490 | * |
1491 | 1491 | * @since 2.1.0 |
1492 | 1492 | * |
1493 | | * @param BP_XProfile_Field $this Current XProfile field. |
| 1493 | * @param BP_XProfile_Field $field Current XProfile field. |
1494 | 1494 | */ |
1495 | 1495 | do_action( 'xprofile_field_after_submitbox', $this ); |
1496 | 1496 | } |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-group.php b/src/bp-xprofile/classes/class-bp-xprofile-group.php
index 9a9d673c8..ae7068c57 100644
a
|
b
|
class BP_XProfile_Group { |
134 | 134 | * |
135 | 135 | * @since 1.0.0 |
136 | 136 | * |
137 | | * @param BP_XProfile_Group $this Current instance of the group being saved. Passed by reference. |
| 137 | * @param BP_XProfile_Group $group Current instance of the group being saved. Passed by reference. |
138 | 138 | */ |
139 | 139 | do_action_ref_array( 'xprofile_group_before_save', array( &$this ) ); |
140 | 140 | |
… |
… |
class BP_XProfile_Group { |
165 | 165 | * |
166 | 166 | * @since 1.0.0 |
167 | 167 | * |
168 | | * @param BP_XProfile_Group $this Current instance of the group being saved. Passed by reference. |
| 168 | * @param BP_XProfile_Group $group Current instance of the group being saved. Passed by reference. |
169 | 169 | */ |
170 | 170 | do_action_ref_array( 'xprofile_group_after_save', array( &$this ) ); |
171 | 171 | |
… |
… |
class BP_XProfile_Group { |
194 | 194 | * |
195 | 195 | * @since 2.0.0 |
196 | 196 | * |
197 | | * @param BP_XProfile_Group $this Current instance of the group being deleted. Passed by reference. |
| 197 | * @param BP_XProfile_Group $group Current instance of the group being deleted. Passed by reference. |
198 | 198 | */ |
199 | 199 | do_action_ref_array( 'xprofile_group_before_delete', array( &$this ) ); |
200 | 200 | |
… |
… |
class BP_XProfile_Group { |
223 | 223 | * |
224 | 224 | * @since 2.0.0 |
225 | 225 | * |
226 | | * @param BP_XProfile_Group $this Current instance of the group being deleted. Passed by reference. |
| 226 | * @param BP_XProfile_Group $group Current instance of the group being deleted. Passed by reference. |
227 | 227 | */ |
228 | 228 | do_action_ref_array( 'xprofile_group_after_delete', array( &$this ) ); |
229 | 229 | |
… |
… |
class BP_XProfile_Group { |
903 | 903 | * |
904 | 904 | * @since 2.6.0 |
905 | 905 | * |
906 | | * @param BP_XProfile_Group $this Current XProfile group. |
| 906 | * @param BP_XProfile_Group $group Current XProfile group. |
907 | 907 | */ |
908 | 908 | do_action( 'xprofile_group_admin_after_description', $this ); ?> |
909 | 909 | |
… |
… |
class BP_XProfile_Group { |
918 | 918 | * |
919 | 919 | * @since 2.1.0 |
920 | 920 | * |
921 | | * @param BP_XProfile_Group $this Current XProfile group. |
| 921 | * @param BP_XProfile_Group $group Current XProfile group. |
922 | 922 | */ |
923 | 923 | do_action( 'xprofile_group_before_submitbox', $this ); ?> |
924 | 924 | |
… |
… |
class BP_XProfile_Group { |
938 | 938 | * |
939 | 939 | * @since 2.1.0 |
940 | 940 | * |
941 | | * @param BP_XProfile_Group $this Current XProfile group. |
| 941 | * @param BP_XProfile_Group $group Current XProfile group. |
942 | 942 | */ |
943 | 943 | do_action( 'xprofile_group_submitbox_start', $this ); ?> |
944 | 944 | |
… |
… |
class BP_XProfile_Group { |
966 | 966 | * |
967 | 967 | * @since 2.1.0 |
968 | 968 | * |
969 | | * @param BP_XProfile_Group $this Current XProfile group. |
| 969 | * @param BP_XProfile_Group $group Current XProfile group. |
970 | 970 | */ |
971 | 971 | do_action( 'xprofile_group_after_submitbox', $this ); ?> |
972 | 972 | |
-
diff --git a/src/bp-xprofile/classes/class-bp-xprofile-profiledata.php b/src/bp-xprofile/classes/class-bp-xprofile-profiledata.php
index d028b0a37..c8b6f895e 100644
a
|
b
|
class BP_XProfile_ProfileData { |
140 | 140 | * @since 1.2.7 |
141 | 141 | * |
142 | 142 | * @param bool $retval Whether or not data already exists. |
143 | | * @param BP_XProfile_ProfileData $this Instance of the current BP_XProfile_ProfileData class. |
| 143 | * @param BP_XProfile_ProfileData $profile_data Instance of the current BP_XProfile_ProfileData class. |
144 | 144 | */ |
145 | 145 | return apply_filters_ref_array( 'xprofile_data_exists', array( (bool)$retval, $this ) ); |
146 | 146 | } |
… |
… |
class BP_XProfile_ProfileData { |
167 | 167 | * @since 1.2.7 |
168 | 168 | * |
169 | 169 | * @param bool $retval Whether or not data is valid. |
170 | | * @param BP_XProfile_ProfileData $this Instance of the current BP_XProfile_ProfileData class. |
| 170 | * @param BP_XProfile_ProfileData $profile_data Instance of the current BP_XProfile_ProfileData class. |
171 | 171 | */ |
172 | 172 | return apply_filters_ref_array( 'xprofile_data_is_valid_field', array( (bool)$retval, $this ) ); |
173 | 173 | } |
… |
… |
class BP_XProfile_ProfileData { |
213 | 213 | * @param string $field_value The field value. |
214 | 214 | * @param int $data_id The field data ID. |
215 | 215 | * @param bool $reserialize Whether to reserialize arrays before returning. Defaults to true. |
216 | | * @param BP_XProfile_ProfileData $this Current instance of the profile data being saved. |
| 216 | * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved. |
217 | 217 | */ |
218 | 218 | $this->value = apply_filters( 'xprofile_data_value_before_save', $this->value, $this->id, true, $this ); |
219 | 219 | |
… |
… |
class BP_XProfile_ProfileData { |
234 | 234 | * |
235 | 235 | * @since 1.0.0 |
236 | 236 | * |
237 | | * @param BP_XProfile_ProfileData $this Current instance of the profile data being saved. |
| 237 | * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved. |
238 | 238 | */ |
239 | 239 | do_action_ref_array( 'xprofile_data_before_save', array( $this ) ); |
240 | 240 | |
… |
… |
class BP_XProfile_ProfileData { |
260 | 260 | * |
261 | 261 | * @since 1.0.0 |
262 | 262 | * |
263 | | * @param BP_XProfile_ProfileData $this Current instance of the profile data being saved. |
| 263 | * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being saved. |
264 | 264 | */ |
265 | 265 | do_action_ref_array( 'xprofile_data_after_save', array( $this ) ); |
266 | 266 | |
… |
… |
class BP_XProfile_ProfileData { |
289 | 289 | * |
290 | 290 | * @since 1.9.0 |
291 | 291 | * |
292 | | * @param BP_XProfile_ProfileData $this Current instance of the profile data being deleted. |
| 292 | * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being deleted. |
293 | 293 | */ |
294 | 294 | do_action_ref_array( 'xprofile_data_before_delete', array( $this ) ); |
295 | 295 | |
… |
… |
class BP_XProfile_ProfileData { |
303 | 303 | * |
304 | 304 | * @since 1.9.0 |
305 | 305 | * |
306 | | * @param BP_XProfile_ProfileData $this Current instance of the profile data being deleted. |
| 306 | * @param BP_XProfile_ProfileData $profile_data Current instance of the profile data being deleted. |
307 | 307 | */ |
308 | 308 | do_action_ref_array( 'xprofile_data_after_delete', array( $this ) ); |
309 | 309 | |