Skip to content

Commit

Permalink
fix: website url when using a custom WP directory
Browse files Browse the repository at this point in the history
  • Loading branch information
gutobenn committed Jan 3, 2025
1 parent 284074f commit a68a086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public static function get_admin_url($path = '')
*/
public static function get_site_url($path = '')
{
return esc_url(get_site_url(null, $path));
return esc_url(get_home_url(null, $path));
}

/**
Expand Down

0 comments on commit a68a086

Please sign in to comment.