twentytwenty_show_categories_in_entry_header

twentytwenty_show_categories_in_entry_header

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.0.3

apply_filters('twentytwenty_show_categories_in_entry_header') is found 2 times:

  • /wp-content/themes/twentytwenty/template-parts/content-cover.php line 64
    							 * @since Twenty Twenty 1.0
    							 *
    							 * @param bool 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"><?php _e( 'Categories', 'twentytwenty' ); ?></span>
    
  • /wp-content/themes/twentytwenty/template-parts/entry-header.php line 30
    		 * @since Twenty Twenty 1.0
    		 *
    		 * @param bool Whether to show the categories in 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"><?php _e( 'Categories', 'twentytwenty' ); ?></span>