myblogs_options WordPress Filter Hook
The myblogs_options hook allows you to modify the options for your blog. This hook is called when the options are first loaded, and allows you to change the default values for your blog.
apply_filters( 'myblogs_options', string $settings_html , string $context ) #
Enable the Global Settings section on the My Sites screen.
Description
By default, the Global Settings section is hidden. Passing a non-empty string to this filter will enable the section, and allow new settings to be added, either globally or for specific sites.
Parameters
- $settings_html
(string)The settings HTML markup. Default empty.
- $context
(string)Context of the setting (global or site-specific). Default 'global'.
Source
File: wp-admin/my-sites.php
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |