Filters the settings HTML markup in 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
$settings_html = apply_filters( 'myblogs_options', '', 'global' );
Changelog
Version | Description |
---|---|
MU (3.0.0) | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.