Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@yuriinalivaiko
Created November 4, 2022 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuriinalivaiko/b60c3a80cb6ebf2e37265744cbe80239 to your computer and use it in GitHub Desktop.
Save yuriinalivaiko/b60c3a80cb6ebf2e37265744cbe80239 to your computer and use it in GitHub Desktop.
Hook um_logout_after_user_welcome
<?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