apply_filters( 'rest_pre_insert_application_password', stdClass $prepared, WP_REST_Request $request )
Filters an application password before it is inserted via the REST API.
Parameters
- $prepared
-
(stdClass) An object representing a single application password prepared for inserting or updating the database.
- $request
-
(WP_REST_Request) Request object.
Source
File: wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_pre_insert_application_password