Skip to content

Instantly share code, notes, and snippets.

@yuriinalivaiko
Created November 4, 2022 11: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/43de8de4010f376d20e9f3b1a2d9ed15 to your computer and use it in GitHub Desktop.
Save yuriinalivaiko/43de8de4010f376d20e9f3b1a2d9ed15 to your computer and use it in GitHub Desktop.
Hook um_admin_custom_login_metaboxes
<?php
/**
* Hook: um_admin_custom_login_metaboxes
*
* Type: action
*
* Description: Add custom metaboxes for the Login Form type.
*
* @example https://github.com/ultimatemember/ultimatemember/blob/master/includes/admin/core/class-admin-metabox.php#L1040
* @link https://docs.ultimatemember.com/article/983-umadmincustomloginmetaboxes
*
* @package um\admin\core
* @see um\admin\core\Admin_Metabox::add_metabox_form()
* @since 2.0
* @deprecated since version 3.0
*/
function my_admin_custom_login_metaboxes() {
// your code here.
}
add_action( 'um_admin_custom_login_metaboxes', 'my_admin_custom_login_metaboxes', 10 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment