src/common/Post.php
public static function findByExactMeta ($meta_key, $meta_value, $post_type = PostTypes::ANY)
    {
        return get_posts(array(
            'post_type'  => $post_type,
            'meta_key'   => $meta_key,
            'meta_value' => $meta_value
        ));
    }
public static function findByExactMeta ($meta_key, $meta_value, $post_type = PostTypes::ANY)
    {
        return get_posts(array(
            'post_type'  => $post_type,
            'meta_key'   => $meta_key,
            'meta_value' => $meta_value
        ));
    }
public static function findByExactMeta ( $ meta_key , $ meta_value , $ post_type = PostTypes :: ANY ) { return get_posts ( array ( 'post_type' => $ post_type , 'meta_key' => $ meta_key , 'meta_value' => $ meta_value ) ) ; }
Finds one or more pages by exactly matching the meta value

@param string $meta_key
@param string $meta_value
@param string $post_type

@return \WP_Post[]
Finds one or more pages by exactly matching the meta value