Core Function
View Source on Trac ↗ wp_get_post_content_block_attributes()
wp_get_post_content_block_attributes( ) Retrieves Post Content block attributes from the current post template.
Return Value
((array)
| null) Post Content block attributes array or null if Post Content block doesn't exist.
Function Information
Since Version
6.3.0
Source File
wp-includes/block-editor.php
Advertisement