WP_Meta_Query Generator July 9, 2019 Public Francisco Rodríguez Ruiz Permalink Embed Code Or, embed this snippet using GenerateWP WordPress Plugin. Download Clone Related articles products $meta_query = array( array( 'key' => 'related_articles', 'value' => '$post->id', ), );