WordPress开发者和主题制作者的搜索引擎



myblogs_options ›

SinceMU (3.0.0)
已弃用n/a
apply_filters( 'myblogs_options', '', 'global' )
参数: (2)
  • (string) $settings_html The settings HTML markup. Default empty.
    Required: Yes
  • (object) $context Context of the setting (global or site-specific). Default 'global'.
    Required: Yes
定义在:
文档:

Enable 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.





源码

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