wp-includes/script-loader.php: wp_add_iframed_editor_assets_html() | Inject the block editor assets that need to be loaded into the editor’s iframe as an inline script. |
wp-includes/class-wp-theme-json.php: WP_Theme_JSON::get_blocks_metadata() | Returns the metadata for each block. |
wp-includes/class-wp-block-supports.php: WP_Block_Supports::apply_block_supports() | Generates an array of HTML attributes, such as classes, by applying to the given block all of the features that the block supports. |
wp-includes/class-wp-block-supports.php: WP_Block_Supports::register_attributes() | Registers the block attributes required by the different block supports. |
wp-includes/class-wp-block.php: WP_Block::__construct() | Constructor. |
wp-includes/rest-api/endpoints/class-wp-rest-block-types-controller.php: WP_REST_Block_Types_Controller::__construct() | Constructor. |
wp-includes/class-wp-block-list.php: WP_Block_List::__construct() | Constructor. |
wp-includes/blocks.php: register_block_type_from_metadata() | Registers a block type from the metadata stored in the block.json file. |
wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php: WP_REST_Block_Renderer_Controller::register_routes() | Registers the necessary REST API routes, one for each dynamic block. |
wp-includes/rest-api/endpoints/class-wp-rest-block-renderer-controller.php: WP_REST_Block_Renderer_Controller::get_item() | Returns block output from block’s registered render_callback. |
wp-includes/script-loader.php: wp_enqueue_registered_block_scripts_and_styles() | Enqueues registered block scripts and styles, depending on current rendered context (only enqueuing editor scripts while in context of the editor). |
wp-includes/blocks.php: register_block_type() | Registers a block type. The recommended way is to register a block type using the metadata stored in the block.json file. |
wp-includes/blocks.php: unregister_block_type() | Unregisters a block type. |
wp-includes/blocks.php: get_dynamic_block_names() | Returns an array of the names of all registered dynamic block types. |
wp-admin/includes/post.php: get_block_editor_server_block_settings() | Prepares server-registered blocks for the block editor. |