context['postId'] ) ? absint( $block->context['postId'] ) : get_the_ID(); if ( ! chrnx_is_eligible_editorial_post( $chrnx_post_id ) ) { return; } $chrnx_release = chrnx_get_track_release( $chrnx_post_id ); $chrnx_player = chrnx_get_track_player_markup( $chrnx_post_id ); $chrnx_links = chrnx_get_track_links( $chrnx_post_id ); $chrnx_number = absint( get_post_meta( $chrnx_post_id, 'chrnx_track_number', true ) ); $chrnx_description = (string) get_post_meta( $chrnx_post_id, 'chrnx_track_description', true ); // Nothing invented: without any track data this block stays silent. if ( null === $chrnx_release && '' === $chrnx_player && empty( $chrnx_links ) ) { return; } $chrnx_release_link = null !== $chrnx_release ? get_term_link( $chrnx_release ) : null; ?>
'chrnx-track-meta' ) ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> aria-label="">

name ); ?> 0 ) : ?>