The “Links” widget uses wp_list_bookmarks, which outputs a nested list similar to:
<li>
<h2>[category]</h2>
<ul class="xoxo blogroll">
[links]
</ul>
</li>
You can override [category] using the link_category filter:
function wpse_147543_link_category( $title ) {
$title="title";
return $title;
}
add_filter( 'link_category', 'wpse_147543_link_category' );
Related Posts:
- How can I modify the WordPress default widget output?
- How to hook into unregistering a widget instance?
- Filter Widget Title Wrap
- Is it possible to remove the filter from 4.8 text widget?
- Anyway to edit the titlebar of WordPress Widgets in the Admin area?
- WordPress tag cloud add more links
- How to add a class to Tag cloud widget link?
- How to make a widget expand wider than the column width when editing its settings in the admin
- Warning: Missing argument 2 for widget_title filter
- Add Bootstrap Classes to Recent Posts Widget
- include specific Pages to wp_list_pages with filter
- Shortcodes within the sidebar text/html widget: How to preserve the raw HTML output of the shortcode?
- I’ve set up an extra field for all the available widgets. How do I show it’s value in the front-end?
- Archive Widget – Count only parent posts
- Widget image reorganize layout
- How can I change the button text of a custom widget?
- WordPress Tag Cloud Filter Prevents Widget HTML from loading
- How can I add a prefix to titles displayed in sidebar using function.php?
- Filter WordPress Archive Widget to exclude posts with specific custom taxonomy term id
- Output dynamic_sidebar_params in wp_head
- How to use apply_filters(‘get_calendar’) to change get_calendar() output?
- Filter widget_pages_args not working in Pages Widget
- Woocommerce price filter widget always shows max price of most expensive product in the whole shop
- WordPress hooks/filters insert before content or after title
- What is the very earliest action hook you can call?
- Query WP REST API v2 by multiple meta keys
- Removing Image and Caption Dimension Attributes
- is it possible to add “extra” table nav to edit-tags.php screens?
- How to apply the “retrieve_password_message” filter?
- wp_mail – Remove sitename from email subject
- Remove left alignment option in core/image block
- How to change/rewrite the lost password url?
- add_filter multiple times with different addon functions?
- WP Rest API – Upload media without saving attachment post
- Using variable from one filter in another filter
- add class to term_description
- How can I find out what an `apply_filter` call is actually doing?
- How to apply content filter permanently?
- remove other tabs in new wordpress media gallery
- Customize the “Registration complete. Please check your e-mail.” message on WP 4.0
- posts_groupby problem
- Remove classes from post_class()
- How to stop WordPress from changing ellipsis into a pre-composed triple-dot glyph?
- Replace a part of url generated by get_term_link
- Error when overriding only some audio shortcode HTML output
- Run oembed separately outside the_content()
- Hook Into the_content Filter For JSON API Only [closed]
- How to call a function or method that is Namespaced using another plugin
- apply_filters(‘the_content’) – make it ignore shortcodes?
- Replace a word with a word in the URL string
- Remove style `?ver=` from `/wp-admin/upgrade.php`
- Add attribute to script loaded by the theme
- theme_page_templates not working
- Need help using a filter on the default Categories widget
- Filter custom post type using multiple taxonomy dropdowns
- Add new post with predefined / preset date
- Remove Actions added by SEO ultimate Plugin
- Building a request processor for multi-page forms, etc using $_GET requests
- get post id within add_filter()
- Run posts_where and posts_join only on the main query
- Media upload default title from file name
- run shortcode in excerpt of single custom post type
- Get The Caller (Plugin / Theme / Core) For All actions & Hook in WordPress
- Error using wp_mail inside custom function
- Add/remove CRON action depending on variable
- Stripping URLs & Email from post submissions
- comment_for() Custom fields not visible when user is logged in
- Filter authors on meta value
- Override email_exists function
- Access post ID in “content_save_pre”
- Remove pretty photo style and script if not exist!
- Gallery stripped from excerpt of post
- Add_filter rel=”prettyphoto” to WP3.4.1
- BuddyPress – A hook available to hide custom born date on public profile view?
- How to filter the source URL of all images on every page
- auth_redirect() doesn’t send users to the page where they orginally tried to acces
- Custom sort orderby question
- Override wordpress audio playlist
- Hook to add content after date in post?
- How to bridge the gap between dynamic back-end data and front-end output?
- How to loop year & month condition together to filter correctly via AJAX?
- Add Index to Item in WordPress Gallery
- How to add_filter only when content is not empty?
- filter out
- Filter template text
- WP Dashboard -> Posts-> Filter > BUG!
- add_filter not working inside if function
- How do I disable the warning “The backup of this post in your browser is different from the version below”?
- How to filter posts in admin by before date or by post status ‘future’?
- Loading a sidebar on an Ajax call
- the_excerpt() does not work with has_excerpt()?
- Custom excerpt_more filter not working when tag is present
- Taxonomy search filters
- NextGEN Gallery: Adding drop-down menu widget to gallery view without modifying plugin code [closed]
- How do you disable the verification process of user email changes?
- Modify the third (context) parameter in a filter?
- Why isn’t this add_filter function working as expected?
- Adding filter to the Contact Form 7 response
- Remove rel=”ugc” from links in comments
- How to increase comment length?