Custom Fields
Re-Envisioned
Support General Populate select fields depending on what page ID is

  • Creator
    Topic
  • #26510
    Resolved Martin Assheton
    Participant

    Hi, getting on really well with MetaBox, keep up the good work 🙂

    Please could you assist with some insight in how to do the following:
    rwmb_meta_boxes filter runs on every page/request. I have some big queries for populating select fields and I would like to fire these queries on only two pages 'front-end' else leave the select options empty on all other pages to optimise the site.

    rwmb_meta_boxes fires before any wp templating/page processing so I cannot use 'is_page' or similar functions.

    I'd be very grateful if you can point me in the right direction for a solution.
    Cheers

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.