Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php | do_action | 273 | /** * Fires after a single application password is completely created or updated via the REST API. * * @since 5.6.0 * * @param array $item Inserted or updated password item. * @param WP_REST_Request $request Request object. * @param bool $creating True when creating an application password, false when updating. */ |
wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php | do_action | 352 | /** * Updates an application password. * * @since 5.6.0 * * @param WP_REST_Request $request Full details about the request. * @return WP_REST_Response|WP_Error Response object on success, or WP_Error object on failure. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
array | $item | Inserted or updated password item. |
WP_REST_Request | $request | Request object. |
bool | $creating | True when creating an application password, false when updating. |
array | $item | Inserted or updated password item. |
WP_REST_Request | $request | Request object. |
bool | $creating | True when creating an application password, false when updating. |