bloginfo WordPress Filter Hook

The bloginfo hook is one of the most important hooks in WordPress. It allows you to display information about your site in the header, footer, and sidebars. This hook is also used by plugins and themes to display information about themselves.

apply_filters( 'bloginfo', mixed $output, string $show ) #

Filters the site information returned by get_bloginfo().


Parameters

$output

(mixed)The requested non-URL site information.

$show

(string)Type of information requested.


Top ↑

More Information

Note that the function calls to bloginfo("url"), bloginfo("directory"), and bloginfo("home") will not have this filter hook applied (see bloginfo_url instead).


Top ↑

Source

File: wp-includes/general-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
0.71Introduced.

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