W3cubDocs

/WordPress

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

$preparedstdClass
An object representing a single application password prepared for inserting or updating the database.
$requestWP_REST_Request
Request object.

Source

return apply_filters( 'rest_pre_insert_application_password', $prepared, $request );

Changelog

Version Description
5.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/rest_pre_insert_application_password