用户功能设置收口与废弃后台链路清理
This commit is contained in:
@@ -36,7 +36,7 @@ $avatar = function_exists('aksrt_get_avatar_url') ? aksrt_get_avatar_url($use
|
||||
$home_url = function_exists('aksrt_get_user_home_url') ? aksrt_get_user_home_url($user) : get_author_posts_url($user_id);
|
||||
$credits = function_exists('aksrt_user_credits') ? (int) aksrt_user_credits($user_id) : 0;
|
||||
$post_count = (int) count_user_posts($user_id, 'post', true);
|
||||
$bio = (string) get_the_author_meta('description', $user_id);
|
||||
$bio = function_exists('aksrt_get_user_description') ? aksrt_get_user_description($user_id) : (string) get_the_author_meta('description', $user_id);
|
||||
$show_credits = class_exists('\AKSRT\Settings\Settings') ? \AKSRT\Settings\Settings::credits_enabled() : true;
|
||||
?>
|
||||
<div class="aksrt-profile-card aksrt-profile-card--shortcode">
|
||||
|
||||
Reference in New Issue
Block a user