bloginfo_url WordPress Filter Hook

The bloginfo_url hook is a great way to get the URL of your blog. This can be useful if you want to display the URL in a widget or in the footer of your theme.

apply_filters( 'bloginfo_url', string $output, string $show ) #

Filters the URL returned by get_bloginfo().


Parameters

$output

(string)The URL returned by bloginfo().

$show

(string)Type of information requested.


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.0.5Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More