Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • When hooking into template_redirect make sure that the priority is set (third arg):

    `add_action(‘template_redirect’, ‘my_function’, 1);`

    The priority argument defaults to 10 – BuddyPress uses a priority of 2 when hooking into template_redirect. Set the priority of your function to a number less than 2, so your hook is executed before BuddyPress catches the URL.

    @r-a-y

    Look like it’s not available with the version of Buddypress we’ve got installed (1.2.4). Bummer!

    The SVN version definitely supports the html parameter:
    https://svn.buddypress.org/trunk/bp-core/bp-core-avatars.php

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar