开发者 | keraweb |
---|---|
更新时间 | 2024年11月12日 08:20 |
捐献地址: | 去捐款 |
PHP版本: | 5.2.4 及以上 |
WordPress版本: | 6.7 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
widget_subtitles_element
widget_subtitles_classes
widget_subtitles_default_location
widget_subtitles_edit_location_capability
widget_subtitles_available_locations
widget_subtitles_add_subtitle
widget_subtitle
You can use these filters inside your theme functions.php file or in a plugin.widget_subtitle
to change the subtitle for a widget. Similar to WP's widget_title
.widget_subtitles_add_subtitle
to allow custom subtitle location handlers.widget_subtitles_available_locations
now allows custom locations.wp_get_sidebars_widgets()
instead of a global to get the related sidebar ID from a widget instance.widget_subtitles_available_locations
. Overwrites the available locations for a widget.WP_Widget
object parameter to the widget_subtitles_element
and widget_subtitles_classes
filters.widget_subtitles_default_location
. Sets the default location for subtitles.widget_subtitles_edit_location_capability
. Change the capability required to modify subtitle locations. #8