rest_prepare_block_pattern – filter

Filters the REST API response for a block pattern. 

Parameters

.
( 5.8.0 ) . .
$response
( WP_REST_Response ) The response object. . . .
( object ) $raw_pattern The unprepared block pattern. . . .
( WP_REST_Request ) $request The request object. . . .
API Letters: ,,

Implementers