Skip to content

Commit

Permalink
Update PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
oandregal committed Apr 6, 2022
1 parent 4edb7cd commit 790bbbc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/compat/wordpress-6.0/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,11 @@ protected function get_block_classes( $style_nodes ) {
}

/**
* Returns a valid theme.json for a theme.
* Essentially, it flattens the preset data.
* Returns a valid theme.json as provided by a theme.
*
* Unlike get_raw_data() this returns the presets flattened,
* as provided by a theme. This also uses appearanceTools
* instead of their opt-ins if all of them are true.
*
* @return array
*/
Expand Down

0 comments on commit 790bbbc

Please sign in to comment.