BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 5
    Darren Burn on #41384

    how to get the approved avatar’s URL?

  • Participant
    Level: Initiated
    Posts: 5
    Darren Burn on #41329

    This works on the very next manual reload of page “wp-admin/admin.php?page=user-avatar-moderation&action=approve&id=13&nonce=*********” but once the “Approve” button is clicked and page reloads with successful moderation, this code does nothing.

    and returning me an instance of the “BPAVMOD_Moderation_Log” class

  • Participant
    Level: Initiated
    Posts: 5
    Darren Burn on #41326

    here is the sample code.

    add_action( ‘bpavmod_avatar_approved’, function($avatar) {
    var_dump($avatar); die;
    } );