- Timestamp:
- 06/01/2024 10:37:31 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/classes/class-bp-invitation-manager.php
r13888 r13889 109 109 * 110 110 * @since 5.0.0 111 *112 * @param array $r Describes the invitation to be added.113 111 */ 114 112 if ( ! $this->allow_invitation( $r ) ) { … … 163 161 * @param int $invitation_id ID of invitation to send. 164 162 * @param array $args See BP_Invitation::mark_sent(). 165 *166 163 * @return bool 167 164 */ … … 314 311 * 315 312 * @since 5.0.0 316 * @access public317 313 * 318 314 * @param int $request_id ID of request to send. 319 315 * @param array $args See BP_Invitation::mark_sent(). 320 * 321 * @return bool The result of `run_send_action()`. 316 * @return bool 322 317 */ 323 318 public function send_request_notification_by_id( $request_id = 0, $args = array() ) { … … 773 768 * @since 5.0.0 774 769 * 770 * @param array $args The parameters that describe the invitation. 775 771 * @return bool 776 772 */ 777 public function allow_invitation( ) {773 public function allow_invitation( $args ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found 778 774 return true; 779 775 } … … 785 781 * @since 5.0.0 786 782 * 783 * @param array $args The parameters describing the request. 787 784 * @return bool 788 785 */ 789 public function allow_request( ) {786 public function allow_request( $args ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found 790 787 return true; 791 788 }
Note: See TracChangeset
for help on using the changeset viewer.