log out redirection to home page instead of wp-login.php?

log out redirection to home page instead of wp-login.php?

do not want to use another plugin, looking for child function.php code