um_admin_pre_save_field_to_db

Hook type

Filter

Description

Change field options before save to DB

Parameters

$field_args

(array) Field Options

Usage

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

Examples

<?php
add_filter( 'um_admin_pre_save_field_to_db', 'my_admin_pre_save_field_to_db', 10, 1 );
function my_admin_pre_save_field_to_form( $field_args ) {
    // your code here
return $field_args;
}
?>

Change Log

Since: 2.0

Source

um_admin_pre_save_field_to_db is located in includes/admin/core/class-admin-builder.php::line 436