📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-26 13:38:49
📂
/
/
home
/
pallabnv
/
public_html
/
wp-content__3bb9dea
/
plugins
/
wordpress-seo
/
src
/
helpers
✏️
Editing: home-url-helper.php
<?php namespace Yoast\WP\SEO\Helpers; /** * A helper object for the home URL. */ class Home_Url_Helper { /** * The home url. * * @var string */ protected static $home_url; /** * The parsed home url. * * @var array */ protected static $parsed_home_url; /** * Retrieves the home url. * * @return string The home url. */ public function get() { static::$home_url ??= \home_url(); return static::$home_url; } /** * Retrieves the home url that has been parsed. * * @return array The parsed url. */ public function get_parsed() { static::$parsed_home_url ??= \wp_parse_url( $this->get() ); return static::$parsed_home_url; } }
💾 Save Changes
❌ Cancel