Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Add .documents class to divs of the Employee Onboarding Caldera Form
- add_action( 'caldera_forms_grid_row_class', function($rowClass, $row, $config ){
- //Change your field ID here
- if('CF5d8ceba87e343' == $config[ 'form_id' ]){
- if( $row==4 || $row==5 ) {
- $rowClass .= ' documents';
- }
- }
- return $rowClass;
- }, 10, 3 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement