Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Profile name contains

ArtsLinkNB portfolio search

$meta_query = array(
	'relation' => 'OR',
	array(
		'key'     => 'profile-firstname',
		'value'   => 'search-term',
		'compare' => 'LIKE',
	),
	array(
		'key'     => 'profile-lastname',
		'value'   => 'search-term',
		'compare' => 'LIKE',
	),
);