Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_get_linksbyname [ WordPress Function ]

wp_get_linksbyname ( $category, $args = '' )
Parameters:
  • (string) $category The category to use.
  • (string) $args
See:
Returns:
  • (bool|null)
Defined at:



Gets the links associated with the named category.

Source


<?php
function wp_get_linksbyname($category$args '') {
    
_deprecated_function(__FUNCTION__'2.1''wp_list_bookmarks()');

    
$defaults = array(
        
'after' => '<br />',
        
'before' => '',
        
'categorize' => 0,
        
'category_after' => '',
        
'category_before' => '',
        
'category_name' => $category,
        
'show_description' => 1,
        
'title_li' => '',
    );

    
$r wp_parse_args$args$defaults );

    return 
wp_list_bookmarks($r);
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics