提前感谢您抽出时间。
我想执行以下条件if
:
if (current user didnt log out and is in the same login session )
{
Do_something;
}
如何使用Codex函数表示它?我想将其添加到以下内容中
if
但这是徒劳的。
if (
is_single()
&& !empty($current_user)
&& $post->post_author == $current_user->ID
) {
remove_action(\'wp_head\', \'process_postviews\');
}
非常感谢您一如既往的帮助。