um_admin_field_edit_hook{$attribute}

Hook type

Action

Description

Integration for 3-d party fields at wp-admin

Parameters

$edit_mode_value

(string) Post ID

Usage

add_action( 'um_admin_field_edit_hook{$attribute}', 'function_name', 10, 1 );

Examples

<?php
add_action( 'um_admin_field_edit_hook{$attribute}', 'my_admin_field_edit', 10, 1 );
function my_admin_field_edit( $edit_mode_value ) {
    // your code here
}
?>

Change Log

Since: 2.0

Source

um_admin_field_edit_hook{$attribute} is located in includes/admin/core/class-admin-metabox.php::line 1051