Last active
November 6, 2022 16:05
-
-
Save yuriinalivaiko/cd9b348402ed0f5ff54d4d9fcb1b5bb3 to your computer and use it in GitHub Desktop.
Hook um_after_form_fields
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_fields | |
* | |
* Type: action | |
* | |
* Description: Fires before closing tag in the form. | |
* Used in the core to display GDRP and add hidden fields to the form. | |
* May be used to display custom content in the form footer. | |
* | |
* @example https://github.com/ultimatemember/ultimatemember/blob/master/templates/login.php#L92 | |
* @link https://docs.ultimatemember.com/article/1018-umafterformfields | |
* | |
* @package um\templates | |
* @see templates/login.php | |
* @see templates/password-change.php | |
* @see templates/password-reset.php | |
* @see templates/register.php | |
* @see um_profile_content_main() | |
* @since 2.0 | |
* @deprecated since version 3.0 | |
* | |
* @param array $args Form shortcode arguments. | |
*/ | |
function my_after_form_fields( $args ) { | |
// your code here. | |
} | |
add_action( 'um_after_form_fields', 'my_after_form_fields', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment