Framework is loading Custom Post Option for Select Field on Admin-Side Page Load
ak-singla opened this issue · comments
Hello,
I am not sure if this is how it is supposed to work, but I see that the select option with the following configuration is being loaded on every page load, even on the plugins section of the admin panel.
I could confirm this by using the query monitor plugin, please see the following screenshot:
- Is there a way to load it only when the options panel is loaded?
- I have two select fields with the same options (the same custom post), is there a way to provide the same options set to the second field as well?
-
The short answer is no. Redux has to load to show its admin menu items (among other things) even when the options panel isn't loaded. All plugins do.
-
I'm not sure I understand the question. Why not copy and paste the field? As long as the
id
argument of the field is unique, you can duplicate as many fields as you need.