$gatherpress_contributor,
'gatherpress_role' => __( 'Lead', 'gatherpress' ),
),
true
);
endforeach;
foreach ( $credits['gatherpress-team'] as $gatherpress_contributor ) :
Utility::render_template(
sprintf( '%s/includes/templates/admin/settings/credits/contributor-card.php', GATHERPRESS_CORE_PATH ),
array(
'gatherpress_contributor' => $gatherpress_contributor,
),
true
);
endforeach;
?>
$gatherpress_contributor ) :
$gatherpress_contributor_end = ', ';
if ( 2 === $gatherpress_contributor_count ) {
$gatherpress_contributor_end = ' and ';
} elseif ( $gatherpress_key + 2 === $gatherpress_contributor_count ) {
$gatherpress_contributor_end = ', and ';
}
if ( $gatherpress_key + 1 === $gatherpress_contributor_count ) {
$gatherpress_contributor_end = '.';
}
Utility::render_template(
sprintf( '%s/includes/templates/admin/settings/credits/contributor-link.php', GATHERPRESS_CORE_PATH ),
array(
'gatherpress_contributor' => $gatherpress_contributor,
'gatherpress_contributor_end' => $gatherpress_contributor_end,
),
true
);
endforeach;
?>