Filter hook 'myblogs_options'

in WP Core File wp-admin/my-sites.php at line 124

Description

Filters the settings HTML markup in the Global Settings section on the My Sites screen. 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.

Occurrences

Filename Line Number
wp-admin/my-sites.php 124
wp-admin/my-sites.php 158

Parameters

Type Name Description
string $settings_html The settings HTML markup. Default empty.
string $context Context of the setting (global or site-specific). Default 'global'.

PHP Doc

/**
	 * Filters the settings HTML markup in the Global Settings section on the My Sites screen.
	 *
	 * 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.
	 *
	 * @since MU (3.0.0)
	 *
	 * @param string $settings_html The settings HTML markup. Default empty.
	 * @param string $context       Context of the setting (global or site-specific). Default 'global'.
	 */