昨日当年
wordpress 判断是否有用户登录
<?php if ( is_user_logged_in() ) { ?> 有登录 <?php } ?>
我用来添加百度统计代码,有登录就不统计
2021.5.23
京ICP备20023754号