Skip to:
Content
Pages
Categories
Search
Top
Bottom

Overriding ajax.php

  • @marto

    Participant

    Hi guys,

    A function in bp-themes/bp-default/_inc/ajax.php is producing output for the Groups > Send Invites section that I wish to modify. I’m trying as much as possible to stay away from modifying the contents of the Buddypress folder and just stick to doing everything from my child theme, and I’ve tried to remove the action, creating a new action – to no avail. The output ends up being duplicated as Buddypress is recognizing both functions attached to the particular action. Can any of you suggest the best way to override functions from ajax.php? Any help would be greatly appreciated. Thanks!

    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
  • @marto

    Participant

    anyone? :)

    @aljuk

    Member

    @marto – in the functions.php of bp-default, change:
    `require_once( TEMPLATEPATH . ‘/_inc/ajax.php’ );`
    to
    `require_once( STYLESHEETPATH . ‘/_inc/ajax.php’ );`

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Overriding ajax.php’ is closed to new replies.
Skip to toolbar