When i have e.g. galleries as a relation to the current page i'd like to filter the dropdown to only show related galleries. (I can get the current edited page ID via $_SESSION['CMSMain']['currentPage'])
Maybe by a callback function like shortcode_selector_field ?
When i have e.g. galleries as a relation to the current page i'd like to filter the dropdown to only show related galleries. (I can get the current edited page ID via $_SESSION['CMSMain']['currentPage'])
Maybe by a callback function like shortcode_selector_field ?