Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

excl_from_feed

$meta_query = array(
	array(
		'key'     => 'exclude_from_feed',
		'value'   => 'false',
		'compare' => '!=',
		'type'    => 'CHAR',
	),
);