Remove surrounding div
add_filter( ‘frm_no_entries_message’, ‘remove_no_entries_message_div’, 10, 2); function remove_no_entries_message_div( $message, $args ) { if ( $args[‘display’]->ID == 1066 ) { $message = str_replace( ‘<div class=”frm_no_entries”>’, ”, $message ); $message = substr( $message, 0, -6 ); } return $message; }Continue reading