home_url

home_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('home_url') is found 1 times:

  • /wp-includes/link-template.php line 3488
    	 * @param string|null $orig_scheme Scheme to give the home URL context. Accepts 'http', 'https',
    	 *                                 'relative', 'rest', or null.
    	 * @param int|null    $blog_id     Site ID, or null for the current site.
    	 */
    	return apply_filters( 'home_url', $url, $path, $orig_scheme, $blog_id );
    }
    
    /**
     * Retrieves the URL for the current site where WordPress application files
     * (e.g. wp-blog-header.php or the wp-admin/ folder) are accessible.
     *
    

See this hook used in plugins: