Created
November 4, 2022 12:50
-
-
Save yuriinalivaiko/b60c3a80cb6ebf2e37265744cbe80239 to your computer and use it in GitHub Desktop.
Hook um_logout_after_user_welcome
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 | |
/** | |
* Hook: um_logout_after_user_welcome | |
* | |
* Type: action | |
* | |
* Description: Fires in the logout template. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/logout.php#L37 | |
* @link https://docs.ultimatemember.com/article/1169-umlogoutafteruserwelcome | |
* | |
* @package um\templates | |
* @see templates/logout.php | |
* @since 2.0 | |
* @version 3.0 | |
* | |
* @param array $args Logout arguments. | |
*/ | |
function my_logout_after_user_welcome( $args ) { | |
// your code here. | |
} | |
add_action( 'um_logout_after_user_welcome', 'my_logout_after_user_welcome', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment