Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This hook can be used for customizing the checkbox options when creating a new Table View.
Usage
add_filter( 'frm_views_fields_in_create_view_popup', 'change_fields_before_display_in_table_view_popup' );
Parameters
- $fields (object)
Examples
Change fields before they display in Table View popup
add_filter( 'frm_views_fields_in_create_view_popup', 'change_fields_before_display_in_table_view_popup' );
function change_fields_before_display_in_table_view_popup( $fields ) {
// modify the $fields before they are added to the new table view pop up.
return $fields;
}