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:
John Blackbourn
2019-11-05 21:28:51 +00:00
parent 3cdee7a705
commit 46581088d5
15 changed files with 49 additions and 43 deletions

View File

@@ -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 ) {
/**