get_linksbyname [ WordPress Function ]
get_linksbyname ( $cat_name = "noname", $before = '', $after = '
', $between = " ", $show_images = true, $orderby = 'id', $show_description = true, $show_rating = false, $limit = -1, $show_updated = 0 )
', $between = " ", $show_images = true, $orderby = 'id', $show_description = true, $show_rating = false, $limit = -1, $show_updated = 0 )
| Parameters: |
|
| See: | |
| Defined at: |
|
Soorgelijke functies: wp_get_linksbyname, get_linkobjectsbyname, get_linkcatname, get_links, get_linksbyname_withrating
Gets the links associated with category $cat_name.
Source
<?php
function get_linksbyname($cat_name = "noname", $before = '', $after = '<br />', $between = " ", $show_images = true, $orderby = 'id',
$show_description = true, $show_rating = false,
$limit = -1, $show_updated = 0) {
_deprecated_function( __FUNCTION__, '2.1', 'get_bookmarks()' );
$cat_id = -1;
$cat = get_term_by('name', $cat_name, 'link_category');
if ( $cat )
$cat_id = $cat->term_id;
get_links($cat_id, $before, $after, $between, $show_images, $orderby, $show_description, $show_rating, $limit, $show_updated);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/get linksbyname « WordPress Codex
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions.
codex.wordpress.org - WordPress › Support » How to use get_linksbyname to show only ...
I'm asking for some help here, as I wasn't able to find any answer in the WP Support forum. My site has 3 different sessions for organizing the content. One is the ...
wordpress.org - Function Reference/wp get linksbyname « WordPress Codex
This function has been deprecated. That means it has been replaced by a new function or is no longer supported, and may be removed from future versions.
codex.wordpress.org - get_linksbyname() WordPress function reference, arguments and ...
Gets the links associated with category $cat_name.
queryposts.com
Gebruikersdiscussies [ wordpress.org ]
- breger on "get_bookmarks problem"
- breger on "get_bookmarks problem"
- antiq8 on "Links Manager expandable menu"
- mauropr on "How to use get_linksbyname to show only links related to a single post"
- mauropr on "How to use get_linksbyname to show only links related to a single post"
- Sainty on "Function to get array of links"
- Navjot Singh on "Function to get array of links"
- michelem on "Function to get array of links"
- snakefoot on "Function to get array of links"
- lysie6211 on "Links Manager expandable menu"