Changeset 13889
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 } -
trunk/src/bp-groups/classes/class-bp-groups-invitation-manager.php
r12793 r13889 37 37 * @since 5.0.0 38 38 * 39 * @param int $id The ID of the invitation to mark as sent.39 * @param BP_Invitation $invitation The invitation to send. 40 40 * @return bool True on success, false on failure. 41 41 */ … … 155 155 * @since 5.0.0 156 156 * 157 * @param array $args .157 * @param array $args Array of arguments. 158 158 * @return bool 159 159 */ -
trunk/src/bp-members/classes/class-bp-members-invitation-manager.php
r13476 r13889 142 142 * @since 8.0.0 143 143 * 144 * @param array $args .144 * @param array $args Array of arguments. 145 145 * @return bool 146 146 */
Note: See TracChangeset
for help on using the changeset viewer.