MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
MPFT_RelatedPost :: query_posts( Array / String $args )
Retrieves the posts selected in the field UI, while also affecting the main WordPress query loop.
Array / String $args
Either a string or array of query arguments as accepted by WordPress’ get_posts method.
Note that this method will ALWAYS override the post__in argument, since technically it infers the IDs of the selected posts first, and uses post__in to return them.