um_admin_pre_save_fields_hook

Hook type

Filter

Description

Filter field data before save

Parameters

$array

(array) Save Field data

Usage

add_filter( 'um_admin_pre_save_fields_hook', 'function_name', 10, 1 );

Examples

<?php
add_filter( 'um_admin_pre_save_fields_hook', 'my_admin_pre_save_fields', 10, 1 );
function my_admin_pre_save_fields( $array ) {
    // your code here
return $array;
}
?>

Change Log

Since: 2.0

Source

um_admin_pre_save_fields_hook is located in includes/admin/core/class-admin-builder.php::line 341