WordPress.org

Support

Support » How-To and Troubleshooting » get_categories function

get_categories function

  • Hi, in get_categories function you have written following for order by parameters

    orderby
    (string) Sort categories alphabetically or by unique category ID. The default is sort by Category ID. Valid values:

    id
    name – default
    slug
    count
    term_group

    in one line you have said that the default is sort by category and in below that you have stated name as default. i can’t understand this thing. Is it mistake?

  • The topic ‘get_categories function’ is closed to new replies.
Skip to toolbar