BuddyDev

Search

use buddypress function in theme function.php

  • Participant
    Level: Initiated
    Posts: 14
    Abhist on #45437

    hi

    buddypress function useing in theme function.php but it is not working

    functions like groups_join_group( $group, $user_id ) and groups_is_user_admin( $user_id ,1)

    please guide how to use it properly

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #45445

    Hello Abhist,

    Thank you for posting. BuddyPress does provide a custom file for tweaking BuddyPress functionality i.e. ‘bp-custom.php’ file.

    For more info you can refer to the following URL:
    https://buddydev.com/docs/buddypress-guides/what-is-bp-custom-php/

    Please do let me know what you want to achieve with the code so that I can help you.

    Please do let me know if you still face the issue.

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: not resolved