parsed_block['roosterTab'] ?? [] ); $attrs = [ 'class' => 'rooster-tabs__panel' ]; $hidden = ''; if ( '' !== (string) ( $panel['id'] ?? '' ) ) { $first = ! empty( $panel['first'] ); $attrs += [ 'id' => (string) $panel['id'], 'role' => 'tabpanel', 'aria-labelledby' => (string) $panel['id'] . '-tab', 'tabindex' => $first ? '0' : '-1', ]; $hidden = $first ? '' : ( empty( $panel['even'] ) ? ' hidden="until-found"' : ' inert' ); } AIEO_Engine_Blocks::out( '
' ); echo $content; AIEO_Engine_Blocks::out( '
' );