Replies
Viewing 3 posts - 1 through 3 (of 3 total)
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
- This reply was modified 3 years ago by Darren Burn.
here is the sample code.
add_action( ‘bpavmod_avatar_approved’, function($avatar) {
var_dump($avatar); die;
} );
Viewing 3 posts - 1 through 3 (of 3 total)