mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-03 20:24:26 +00:00
Docs: Docs on docs. Further improve documentation of known return types, plus other docs fixes.
See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46662 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -98,7 +98,7 @@ function has_block( $block_type, $post = null ) {
|
||||
*
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @return array Array of dynamic block names.
|
||||
* @return string[] Array of dynamic block names.
|
||||
*/
|
||||
function get_dynamic_block_names() {
|
||||
$dynamic_block_names = array();
|
||||
@@ -281,7 +281,7 @@ function render_block( $block ) {
|
||||
* @since 5.0.0
|
||||
*
|
||||
* @param string $content Post content.
|
||||
* @return array Array of parsed block objects.
|
||||
* @return array[] Array of parsed block objects.
|
||||
*/
|
||||
function parse_blocks( $content ) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user