get_wp_clients(); static::render_clients( $clients ); } /** * Render Clients Info. * * @param mixed $clients Clients data. */ private static function render_clients( $clients ) { // phpcs:ignore -- NOSONAR - complex. ?>



get_wp_client_contact_by( 'contact_id', $client['primary_contact_id'] ); if ( $contact ) { ?> contact_name ); ?> contact_role ) && '' !== $contact->contact_role ) ? ' - ' . esc_html( $contact->contact_role ) : ''; ?>
contact_email ) && '' !== $contact->contact_email ) : ?> contact_email ); ?>
contact_phone ) && '' !== $contact->contact_phone ) : ?> contact_phone ); ?>