site_details WordPress Filter Hook

The site_details hook allows you to specify the details of your site, such as its name, description, and URL. This hook is essential for any site that wants to be listed in the WordPress directory.

apply_filters( 'site_details', stdClass $details ) #

Filters a site’s extended properties.


Parameters

$details

(stdClass)The site details.


Top ↑

Source

File: wp-includes/class-wp-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.6.0Introduced.

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.