You appear to be a bot. Output may be restricted
Description
Test render callback.
Usage
$string = REST_Block_Renderer_Controller_Test::render_test_block( $attributes );
Parameters
- $attributes
- ( array ) required – Props.
Returns
string Rendered attributes, which is here just JSON.
Source
File name: wordpress-develop-tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
Lines:
1 to 3 of 3
public function render_test_block( $attributes ) { return wp_json_encode( $attributes ); }