Allow child themes and plugins to filter the display of the categories in the article header.
$show_categoriesboolwp-content/themes/twentytwenty/template-parts/content-cover.php:64file scopewp-content/themes/twentytwenty/template-parts/entry-header.php:30file scope * Allow child themes and plugins to filter the display of the categories in the article header. * * @since Twenty Twenty 1.0 * * @param bool $show_categories Whether to show the categories in article header. Default true. */ $show_categories = apply_filters( 'twentytwenty_show_categories_in_entry_header', true ); if ( true === $show_categories && has_category() ) { ?> <div class="entry-categories"> <span class="screen-reader-text">Introduced in Twenty Twenty 1.0. 2 changes between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
$show_categories added.verified against source