um_admin_field_edit_hook<attribute>

The Ultimate Member um admin field edit hook attribute hook.

Description

do_action( 'um_admin_field_edit_hook<attribute>', (unknown) $this_edit_mode_value ); 

Parameters (1)

0. $this_edit_mode_value (unknown)
The this edit mode value.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'um_admin_field_edit_hook{$attribute}', $this_edit_mode_value ); 
The following example is for adding a hook callback.
  1. // define the um_admin_field_edit_hook<attribute> callback 
  2. function action_um_admin_field_edit_hookattribute( $this_edit_mode_value ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( "um_admin_field_edit_hook{$attribute}", 'action_um_admin_field_edit_hookattribute', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( "um_admin_field_edit_hook{$attribute}", 'action_um_admin_field_edit_hookattribute', 10, 1 ); 

Defined (1)

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

/admin/core/um-admin-metabox.php  
  1. do_action("um_admin_field_edit_hook{$attribute}", $this->edit_mode_value);