Filter hook 'rest_pre_insert_application_password'

in WP Core File wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php at line 594

Description

Filters an application password before it is inserted via the REST API.

Occurrences

Filename Line Number
wp-includes/rest-api/endpoints/class-wp-rest-application-passwords-controller.php 594

Parameters

Type Name Description
stdClass $prepared An object representing a single application password prepared for inserting or updating the database.
WP_REST_Request $request Request object.

PHP Doc

/**
		 * Filters an application password before it is inserted via the REST API.
		 *
		 * @since 5.6.0
		 *
		 * @param stdClass        $prepared An object representing a single application password prepared for inserting or updating the database.
		 * @param WP_REST_Request $request  Request object.
		 */