Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は WordPress を初めて使用するので、ユーザーがログインしているかどうかのセッションを確認して、メニューを表示/非表示にする方法がわかりません。このためのロジック (PHP コード) はどこに記述すればよいでしょうか?
is_user_logged_in()関数の目的ではありませんか?