There was an error while loading. Please reload this page.
Filter field types that are non-repeatable.
Note that this does not allow overriding the default non-repeatable types.
and not values. The value can be anything, because it is meaningless. Example: array( 'my_custom_field' => 1 )
add_filter( 'cmb2_non_repeatable_fields', function( array $fields ) { // Your code here. return $fields; } );
array
$fields
apply_filters( 'cmb2_non_repeatable_fields', array() )
← All Hooks