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
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    * @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
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    * @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>