\WP_Stager_Integration\Component::render_event_spotify_artists(): void
\WP_Stager_Integration\Component::render_event_spotify_artists(): voidDescription
Render the event Spotify artists component.
Returns:
void
Information
| File | class-component.php line 575 |
|---|
Full Code
/**
* Render the event Spotify artists component.
*
* @return void
*/
public static function render_event_spotify_artists() {
// Get data
$event = (array) (Event::get_single_event_data() ?: array());
$event_spotify_artists = (array) ($event[ 'spotifyArtists' ] ?? array());
// Render the component
self::render( 'event-spotify-artists', 'template-parts/event-page', array(
'spotify_artists' => $event_spotify_artists,
) );
}💡 If you ever get stuck or have a question, please check our FAQs, our Free Integration Service, our paid Full Integration Service, or reach out to us!

Get WP Stager Integration
🎁 Limited offer: Use code WELCOME26 to get your first month for free!

