Custom display categories

Home Forums Calendar Products Events Calendar PRO Custom display categories

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #997932
    Justin
    Participant

    Need some assistance creating an if statement to filter categories. What conditions does tribe_get_event_categories (); take.

    For example

    if tribe_get_event_categories (‘category’)

    echo

    thanks

    #998059
    George
    Participant

    Hey Davin,

    The function tribe_get_event_categories() accepts two arguments – first, a Post ID which you can just leave as “null” if you’re using it within a loop. Then, an array of arguments. The arguments are listed on the left here with their default values on the right:


    array(
    'echo' => false,
    'label' => null,
    'label_before' => '

    ',
    'label_after' =>

    ',
    'wrap_before' => '

      ',
      'wrap_after' => '

    ',
    );

    We don’t offer support for custom coding here, but I hope this information helps!

    Cheers,
    George

    #1002391
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Custom display categories’ is closed to new replies.