WordPress.org

Support

Support » Themes and Templates » How come get_links function does not match the cal

How come get_links function does not match the cal

Viewing 3 replies - 1 through 3 (of 3 total)
  • Sorry, the hit the wrong button,
    here is the code for the function prototype:
    function get_links($category = -1, $before = ”, $after = ‘
    ‘,
    $between = ‘ ‘, $show_images = true, $orderby = ‘name’,
    $show_description = true, $show_rating = false,
    $limit = -1, $show_updated = 1, $echo = true)
    here is the call in index.php
    get_links(-1, ‘

  • ‘, ‘
  • ‘, ”, 0, ‘_rating’, 0, 1, -1, -1)
    The function has 11 incoming variables and the call only uses 10. Am I seeing this wrong?

You might want to take a look at the php manual regarding default argument values 🙂

🙂 I should have looked. Thanks….thread closed. I will try to post some good descriptions of the links functions soon, thats where this question comes from.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How come get_links function does not match the cal’ is closed to new replies.
Skip to toolbar