Last active
September 23, 2020 16:06
-
-
Save scottopolis/666a48abd5a0be6432f99b62e7c6b5d0 to your computer and use it in GitHub Desktop.
Filter AppPresser Welcome Message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// put this code in a plugin | |
add_filter( 'appp_login_success', 'appp_filter_welcome_message', 10, 2 ); | |
function appp_filter_welcome_message( $data, $user_id ) { | |
return "Welcome to our app user " . $user_id . "!"; // must be a string, no HTML | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment