Forums

[resolved] [Plugin: Simple Portfolio] Method simple_portfolio_list_categories (2 posts)

  1. markvanwijnen
    Member
    Posted 8 months ago #

    This
    simple_portfolio_list_categories(null, array('child_of'=>0,'depth'=>1));

    Returns my top category (only) and seems to respond to the arguments properly. However when I use this:
    simple_portfolio_get_categories(null, array('child_of'=>0,'depth'=>1))

    To receive the categories it seems to totally ignore the arguments and so I receive all categories (including all children).

  2. markvanwijnen
    Member
    Posted 8 months ago #

    Apparently the arguments you pass to simple_portfolio_get_categories are different.

    @see WordPress: Get Categories

Reply

You must log in to post.

About this Topic