Created
November 6, 2022 16:22
-
-
Save yuriinalivaiko/9fa512bd4b5556b6fbcd7b8750bed282 to your computer and use it in GitHub Desktop.
Hook um_after_form
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_after_form | |
* | |
* Type: action | |
* | |
* Description: Fires before the closing tag in the form. | |
* May be used to display custom content in the form footer. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/login.php#L134 | |
* @link https://docs.ultimatemember.com/article/1017-umafterform | |
* | |
* @package um\templates | |
* @see templates/login.php | |
* @see templates/register.php | |
* @see um_profile_content_main() | |
* @since 2.0 | |
* @version 3.0 | |
* | |
* @param array $args Form shortcode arguments. | |
*/ | |
function my_after_form( $args ) { | |
// your code here. | |
} | |
add_action( 'um_after_form', 'my_after_form', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment