diff --git a/src/wp-content/themes/twentynineteen/inc/template-functions.php b/src/wp-content/themes/twentynineteen/inc/template-functions.php index 8e9a732f6116e..efb9c7a3b38f9 100644 --- a/src/wp-content/themes/twentynineteen/inc/template-functions.php +++ b/src/wp-content/themes/twentynineteen/inc/template-functions.php @@ -97,7 +97,7 @@ function twentynineteen_get_the_archive_title() { } return $title; } -add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' ); +add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title', 1 ); /** * Adds custom 'sizes' attribute to responsive image functionality for post thumbnails. diff --git a/src/wp-content/themes/twentytwenty/inc/template-tags.php b/src/wp-content/themes/twentytwenty/inc/template-tags.php index ce0be81ede33e..2fc20761d55b5 100644 --- a/src/wp-content/themes/twentytwenty/inc/template-tags.php +++ b/src/wp-content/themes/twentytwenty/inc/template-tags.php @@ -811,7 +811,7 @@ function twentytwenty_get_the_archive_title( $title ) { return preg_replace( $regex['pattern'], $regex['replacement'], $title ); } -add_filter( 'get_the_archive_title', 'twentytwenty_get_the_archive_title' ); +add_filter( 'get_the_archive_title', 'twentytwenty_get_the_archive_title', 1 ); /** * Miscellaneous