Remove unused.

This commit is contained in:
Jeff Ong 2020-08-18 16:29:03 -04:00 committed by Jason Crist
parent dd7cf99d00
commit 884b78ad2a

View file

@ -239,17 +239,4 @@ if ( ! function_exists( 'seedlet_the_posts_pagination' ) ) :
)
);
}
endif;
if ( ! function_exists( 'seedlet_get_the_archive_title' ) ) :
/**
* Returns the archive page heading, allowing it to be filterable.
*/
function seedlet_get_the_archive_title( $title, $original_title, $prefix ) {
$prefix = '<span class="archive-prefix">' . $prefix . '</span>';
$title = '<span class="archive-title">' . $original_title . '</span>';
return '<h1 class="page-title">' . $prefix . $title . '</h1>';
}
add_filter( 'get_the_archive_title', 'seedlet_get_the_archive_title', 10, 3 );
endif;