From d10dd6a25330fee2dc66831fbacc6ac04124dd1d Mon Sep 17 00:00:00 2001 From: World <48707773+wuyueerhao@users.noreply.github.com> Date: Tue, 14 Mar 2023 09:47:09 +0800 Subject: [PATCH] Update functions.php --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 83d72da6..39a56aed 100755 --- a/functions.php +++ b/functions.php @@ -539,7 +539,7 @@ function pk_update() } //添加文章修改时间提示 -function wpb_last_updated_date( $content ) { +function pk_last_updated_date( $content ) { $u_time = get_the_time('U'); $u_modified_time = get_the_modified_time('U'); $custom_content = ''; @@ -551,7 +551,7 @@ function wpb_last_updated_date( $content ) { $custom_content .= $content; return $custom_content; } -add_filter( 'the_content', 'wpb_last_updated_date' ); +add_filter( 'the_content', 'pk_last_updated_date' ); if (is_admin()) {