um_fields_options_enable_pairs__{$key}
Hook type
Filter
Description
Enable options pairs by field $key
Parameters
$options_pairs
(string) Enable pairs
Usage
add_filter( 'um_fields_options_enable_pairs__{$key}', 'function_name', 10, 1 );
Examples
<?php add_filter( 'um_fields_options_enable_pairs__{$key}', 'my_fields_options_enable_pairs', 10, 1 ); function my_fields_options_enable_pairs( $options_pairs ) { // your code here return $options_pairs; } ?>
Change Log
Since: 2.0
Source
um_fields_options_enable_pairs__{$key}
is located in includes/core/class-fields.php::line 2402