WordPress home_url()

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • home_url( $path, $scheme );

Parameters

ParameterDetails
$path(String,Optional) To adding more segment after the home url.
$scheme(String,Optional) Scheme to give the home url context. Accepts 'http', 'https', 'relative', 'rest', or null.


Got any WordPress Question?