Changeset 51237
- Timestamp:
- 06/25/2021 02:39:13 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r51221 r51237 91 91 * 92 92 * @since 5.0.0 93 * @deprecated 5.8.0 The hook transitioned to support also screens that don't contain the $post instance.93 * @deprecated 5.8.0 Use the {@see 'block_categories_all'} filter instead. 94 94 * 95 95 * @param array[] $block_categories Array of categories for block types. … … 115 115 116 116 /** 117 * Filters the allowed block types for all editor types, defaulting to `true` 118 * (all registered block types supported). 119 * 117 * Filters the allowed block types for all editor types. 120 118 * 121 119 * @since 5.8.0 122 120 * 123 * @param bool|array $allowed_block_types Array of block type slugs, or 124 * boolean to enable/disable all.121 * @param bool|array $allowed_block_types Array of block type slugs, or boolean to enable/disable all. 122 * Default true (all registered block types supported). 125 123 * @param WP_Block_Editor_Context $block_editor_context The current block editor context. 126 124 */ … … 130 128 131 129 /** 132 * Filters the allowed block types for the editor, defaulting to true (all 133 * block types supported). 130 * Filters the allowed block types for the editor. 134 131 * 135 132 * @since 5.0.0 136 * @deprecated 5.8.0 The hook transitioned to support also screens that don't contain $post instance.137 * 138 * @param bool|array $allowed_block_types Array of block type slugs, or 139 * boolean to enable/disable all.133 * @deprecated 5.8.0 Use the {@see 'allowed_block_types_all'} filter instead. 134 * 135 * @param bool|array $allowed_block_types Array of block type slugs, or boolean to enable/disable all. 136 * Default true (all registered block types supported) 140 137 * @param WP_Post $post The post resource data. 141 138 */ … … 379 376 * 380 377 * @since 5.0.0 381 * @deprecated 5.8.0 The hook transitioned to support also screens that don't contain $post instance.378 * @deprecated 5.8.0 Use the {@see 'block_editor_settings_all'} filter instead. 382 379 * 383 380 * @param array $editor_settings Default editor settings. … … 407 404 408 405 /** 409 * Filters the array of REST API paths that will be used to preloaded common data 410 * to use with the block editor. 406 * Filters the array of REST API paths that will be used to preloaded common data for the block editor. 411 407 * 412 408 * @since 5.8.0 … … 419 415 420 416 /** 417 * Filters the array of paths that will be preloaded. 418 * 421 419 * Preload common data by specifying an array of REST API paths that will be preloaded. 422 420 * 423 * Filters the array of paths that will be preloaded.424 *425 421 * @since 5.0.0 426 * @deprecated 5.8.0 The hook transitioned to support also screens that don't contain $post instance.422 * @deprecated 5.8.0 Use the {@see 'block_editor_rest_api_preload_paths'} filter instead. 427 423 * 428 424 * @param string[] $preload_paths Array of paths to preload.
Note: See TracChangeset
for help on using the changeset viewer.