Showing 1 of 1 total issue
Function lsx_to_travel_dates
has a Cognitive Complexity of 31 (exceeds 25 allowed). Consider refactoring. Open
Open
function lsx_to_travel_dates( $before = '', $after = '', $echo = true ) { // --- START: [legacy] migrate content from old fields to new repeatable fields (grouped fields) $start = get_post_meta( get_the_ID(), 'travel_dates_start', true ); $end = get_post_meta( get_the_ID(), 'travel_dates_end', true );
- Read upRead up