link_category filter-hookWP 2.2.0

Filters the category name.

Usage

add_filter( 'link_category', 'wp_kama_link_category_filter' );

/**
 * Function for `link_category` filter-hook.
 * 
 * @param string $cat_name The category name.
 *
 * @return string
 */
function wp_kama_link_category_filter( $cat_name ){

	// filter...
	return $cat_name;
}
$cat_name(string)
The category name.

Changelog

Since 2.2.0 Introduced.

Where the hook is called

wp_list_bookmarks()
link_category
get_links_list()
link_category
wp-includes/bookmark-template.php 288
$catname = apply_filters( 'link_category', $cat->name );
wp-includes/deprecated.php 1063
echo '  <li id="linkcat-' . $cat->term_id . '" class="linkcat"><h2>' . apply_filters('link_category', $cat->name ) . "</h2>\n\t<ul>\n";
wp-links-opml.php 67
$catname = apply_filters( 'link_category', $cat->name );

Where the hook is used in WordPress

Usage not found.