The values for the advanced query are taken from a form completed on an options page. ACF Pro is used for the custom fields options page. The categories, sort order, what to order by, prices etc. are set on the form.
Did you like it? Take a second to support us on PayPal or Patreon!