twentytwenty_show_categories_in_entry_header
twentytwenty_show_categories_in_entry_header
Appears in: wordpress-5.3, wordpress-5.3.1, wordpress-5.3.2, wordpress-5.4, wordpress-5.4.1, wordpress-5.4.2, wordpress-5.5, wordpress-5.5.1, wordpress-5.5.2, wordpress-5.5.3, wordpress-5.6, wordpress-5.6.1, wordpress-5.6.2, wordpress-5.7, wordpress-5.7.1, wordpress-5.7.2, wordpress-5.8, wordpress-5.8.1, wordpress-5.8.2, wordpress-5.8.3, wordpress-5.9, wordpress-5.9.1, wordpress-5.9.2, wordpress-5.9.3, wordpress-6.0, wordpress-6.0.2, wordpress-6.0.3
Hook Type: filter
Displaying hooks found in version: wordpress-6.0.3apply_filters('twentytwenty_show_categories_in_entry_header') is found 2 times:
- /wp-content/themes/twentytwenty/template-parts/content-cover.php line 646061626364656667686970
* @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 302627282930313233343536
* @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>