um_admin_pre_save_field_to_form

Hook type

Filter

Description

Change field options before save to form

Parameters

$field_args

(array) Field Options

Usage

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

Examples

<?php
add_filter( 'um_admin_pre_save_field_to_form', 'my_admin_pre_save_field_to_form', 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_form is located in includes/admin/core/class-admin-builder.php::line 412