um_account_page_hidden_fields

The Ultimate Member um account page hidden fields function.

Description

um_account_page_hidden_fields( $args ); 

Parameters (1)

0. $args
The args.

Usage

  1. if ( !function_exists( 'um_account_page_hidden_fields' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ultimate-member/core/um-actions-account.php'; 
  3.  
  4. // The args. 
  5. $args = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = um_account_page_hidden_fields($args); 
  9.  

Defined (1)

The function is defined in the following location(s).

/core/um-actions-account.php  
  1. function um_account_page_hidden_fields( $args ) { 
  2. global $ultimatemember; 
  3. ?> 
  4.  
  5. <input type="hidden" name="_um_account" id="_um_account" value="1" /> 
  6.  
  7. <?php $current_tab = $ultimatemember->account->current_tab; ?> 
  8.  
  9. <input type="hidden" name="_um_account_tab" id="_um_account_tab" value="<?php echo $current_tab;?>" /> 
  10.  
  11. <?php 
  12.