Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

wpbdp_is_sticky

$meta_query = array(
	'relation' => 'AND',
	array(
		'key'     => 'wpbdp_is_sticky',
		'value'   => '1',
		'compare' => '=',
		'type'    => 'NUMERIC',
	),
);