Skip to content

cmb2_repeat_table_row_types

github-actions[bot] edited this page Jun 25, 2026 · 1 revision

By default, 'text_url' and 'text' fields get table-like styling

Auto-generated Example

add_filter(
   'cmb2_repeat_table_row_types',
    function( array array ) {
        // Your code here.
        return array;
    }
);

Parameters

  • array array $field_types The types of fields which should get the 'table-layout' class Other variable names: $string_list

Files

apply_filters( 'cmb2_repeat_table_row_types', array(
			'text_url',
			'text',
		) )

← All Hooks

Clone this wiki locally