mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Docblock corrections and improvements, mostly related to various pre_* filters.
See #47110 git-svn-id: https://develop.svn.wordpress.org/trunk@46232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -225,8 +225,8 @@ function render_block( $block ) {
|
||||
*
|
||||
* @since 5.1.0
|
||||
*
|
||||
* @param string $pre_render The pre-rendered content. Default null.
|
||||
* @param array $block The block being rendered.
|
||||
* @param string|null $pre_render The pre-rendered content. Default null.
|
||||
* @param array $block The block being rendered.
|
||||
*/
|
||||
$pre_render = apply_filters( 'pre_render_block', null, $block );
|
||||
if ( ! is_null( $pre_render ) ) {
|
||||
|
||||
Reference in New Issue
Block a user