wp/wp-includes/class-wp-block-editor-context.php
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     9 /**
     9 /**
    10  * Contains information about a block editor being rendered.
    10  * Contains information about a block editor being rendered.
    11  *
    11  *
    12  * @since 5.8.0
    12  * @since 5.8.0
    13  */
    13  */
       
    14 #[AllowDynamicProperties]
    14 final class WP_Block_Editor_Context {
    15 final class WP_Block_Editor_Context {
    15 	/**
    16 	/**
    16 	 * String that identifies the block editor being rendered. Can be one of:
    17 	 * String that identifies the block editor being rendered. Can be one of:
    17 	 *
    18 	 *
    18 	 * - `'core/edit-post'`         - The post editor at `/wp-admin/edit.php`.
    19 	 * - `'core/edit-post'`         - The post editor at `/wp-admin/edit.php`.