mature_blog WordPress Action Hook

The mature_blog hook is a great way to add a bit of maturity to your blog. This hook allows you to add a custom message to your blog that will only be displayed to users who are over the age of 18. This is a great way to add a bit of maturity to your blog without having to worry about offending any younger readers.

do_action( 'mature_blog', int $site_id ) #

Fires when the ‘mature’ status is added to a site.


Parameters

$site_id

(int)Site ID.


Top ↑

Source

File: wp-includes/ms-site.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.1.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.