Password::filter_zoom_password( null|string|int $unused_password, array $requirements )
Filter the Zoom meeting password on meeting creation.
Contents
Parameters
- $unused_password
-
(null|string|int) (Required) The existing password for the Zoom meeting, if any.
- $requirements
-
(array) (Required) An array of password requirements from Zoom.
Return
(string) The password for the Zoom meeting.
Source
File: src/Tribe/Meetings/Zoom/Password.php
public function filter_zoom_password( $unused_password, array $requirements ) {
return $this->generate_zoom_password(
Arr::get( $requirements, 'password_length', 10 ),
Arr::get( $requirements, 'password_have_special_character', false ),
Arr::get( $requirements, 'password_only_allow_numeric', false )
);
}
Changelog
| Version | Description |
|---|---|
| 1.0.2 | Introduced. |