um_account_tab__general

The Ultimate Member um account tab general function.

Description

um_account_tab__general( $info ); 

Parameters (1)

0. $info
The info.

Usage

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

Defined (1)

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

/core/um-actions-account.php  
  1. function um_account_tab__general( $info ) { 
  2. global $ultimatemember; 
  3. extract( $info ); 
  4.  
  5. $output = $ultimatemember->account->get_tab_output('general'); 
  6.  
  7. if ( $output ) { ?> 
  8.  
  9. <div class="um-account-heading uimob340-hide uimob500-hide"><i class="<?php echo $icon; ?>"></i><?php echo $title; ?></div> 
  10.  
  11. <?php echo $output; ?> 
  12.  
  13. <?php do_action('um_after_account_general'); ?> 
  14.  
  15. <div class="um-col-alt um-col-alt-b"> 
  16. <div class="um-left"><input type="submit" name="um_account_submit" id="um_account_submit" value="<?php _e('Update Account', 'ultimatemember'); ?>" class="um-button" /></div> 
  17. <?php do_action('um_after_account_general_button'); ?> 
  18. <div class="um-clear"></div> 
  19. </div> 
  20.  
  21. <?php 
  22.  
  23.