apply_filters( ‘rest_pre_insert_application_password’, stdClass $prepared, WP_REST_Request $request )

In this article

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

VersionDescription
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.