wp_get_linksbyname()
Deprecated from version 2.1.0. It is no longer supported and can be removed in future releases. Use wp_list_bookmarks() instead.
Gets the links associated with the named category.
No Hooks.
Return
String|null
.
Usage
wp_get_linksbyname( $category, $args );
- $category(string) (required)
- The category to use.
- $args(string)
- -
Default: ''
Notes
- See: wp_list_bookmarks()
Changelog
Since 1.0.1 | Introduced. |
Deprecated since 2.1.0 | Use wp_list_bookmarks() |
wp_get_linksbyname() wp get linksbyname code WP 6.7.2
function wp_get_linksbyname($category, $args = '') { _deprecated_function(__FUNCTION__, '2.1.0', 'wp_list_bookmarks()'); $defaults = array( 'after' => '<br />', 'before' => '', 'categorize' => 0, 'category_after' => '', 'category_before' => '', 'category_name' => $category, 'show_description' => 1, 'title_li' => '', ); $parsed_args = wp_parse_args( $args, $defaults ); return wp_list_bookmarks($parsed_args); }