wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.
has_blocks › WordPress Function
Od5.0.0
Przestarzałyn/a
› has_blocks ( $post = null )
Parametry: |
|
Zobacz: | |
Powrót: |
|
Zdefiniowane na: |
|
Codex: |
Determines whether a post or content string has blocks.
This test optimizes for performance rather than strict accuracy, detecting the pattern of a block but not validating its structure. For strict accuracy, you should use the block parser on post content.