um_predefined_fields_hook
Hook type
Filter
Description
Extend Predefined Fields
Parameters
$predefined_fields
(array) Predefined Fields
Usage
add_filter( 'um_predefined_fields_hook', 'function_name', 10, 1 );
Examples
<?php add_filter( 'um_predefined_fields_hook', 'my_predefined_fields', 10, 1 ); function my_predefined_fields( $predefined_fields ) { // your code here return $predefined_fields; } ?>
Change Log
Since: 2.0
Source
um_predefined_fields_hook
is located in includes/core/class-builtin.php::line 1115