wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
block_core_navigation_filter_out_empty_blocks › WordPress Function
Desden/a
Obsoleton/a
› block_core_navigation_filter_out_empty_blocks ( $parsed_blocks )
Parâmetros: |
|
Retorna: |
|
Definido em: |
|
Codex: |
Filter out empty "null" blocks from the block list.
'parse_blocks' includes a null block with 'nn' as the content when it encounters whitespace. This is not a bug but rather how the parser is designed.