wp-content/themes/twentynineteen/inc/template-functions.php:16Adds custom classes to the array of body classes.
$classesarraystring[]function twentynineteen_body_classes( $classes ) { if ( is_singular() ) { // Adds `singular` to singular pages. $classes[] = 'singular'; } else { // Adds `hfeed` to non-singular pages. $classes[] = 'hfeed'; } // Adds a class if image filters are enabled. if ( twentynineteen_image_filters_enabled() ) { $classes[] = 'image-filters-enabled'; } return $classes;}One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
array to string[].verified against sourcesrc/wp-content/themes/twentynineteen/inc/template-functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.