apply_filters( ‘myblogs_options’, string $settings_html, string $context )

In this article

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_htmlstring
The settings HTML markup. Default empty.
$contextstring
Context of the setting (global or site-specific). Default 'global'.

Source

$settings_html = apply_filters( 'myblogs_options', '', 'global' );

Changelog

VersionDescription
MU (3.0.0)Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.