_config_wp_home


_config_wp_home ( $url = '' )

Access:
  • private
Parameters:
  • (string) url URL for the home location.
See:
  • WP_HOME
Returns:
  • (string) Homepage location.
Defined at:

Description

Retrieves the WordPress home page URL.If the constant named 'WP_HOME' exists, then it will be used and returned by the function. This can be used to counter the redirection on your local development environment.

Related Functions

_config_wp_siteurl, is_home, wp_shortlink_wp_head

Top Google Results

User discussions

wpseek mobile