Skip to:
Content
Pages
Categories
Search
Top
Bottom

Overriding a function in bp-xprofile-screens.php

  • Profile photo of houfton
    Houfton
    Participant

    @houfton

    I have made a change to the xprofile_screen_edit_profile() function in bp-xprofile-screens.php. I want to move it to my child theme’s functions.php (or somewhere else where it will not get over-written on upgrade).
    I cannot just duplicate it because PHP does not allow duplicate functions, it is not ‘pluggable’ and I cannot work out what hook it is attached to – if any – so I cannot deactivate and reactivate it.
    How can I override this function?

  • The topic ‘Overriding a function in bp-xprofile-screens.php’ is closed to new replies.
Skip to toolbar