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.
Source
File: wp-includes/ms-site.php
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |