$return_url = esc_url( home_url( ‘/want_page/’ ) ); // Redirect to your custom login page in WordPress
wp_redirect( $return_url );
이건 wordpress root 쪽 상단 functions.php, thema 밑의 functions.php 둘다 잘 안됩니다.
wp_redirect 함수사용법을 알려주세요
이것을 해당 theme 밑의 functions.php 파일에서 하는게 맞는지도 솔직히 모르겠습니다.
알려주세요
비슷한 내용이라 윗 글 답변을 참조하세요.
아주 좋은 기사! 귀중한 정보.