You appear to be a bot. Output may be restricted
Description
Register test block with post_id as attribute for post context test.
Usage
REST_Block_Renderer_Controller_Test::register_post_context_test_block();
Parameters
Returns
void
Source
File name: wordpress-develop-tests/phpunit/tests/rest-api/rest-block-renderer-controller.php
Lines:
1 to 9 of 9
public function register_post_context_test_block() { register_block_type( self::$context_block_name, array( 'attributes' => array(), 'render_callback' => array( $this, 'render_post_context_test_block' ), ) ); }