I have a custom post type that in admin area has a select custom meta box with 12.000+ options. So, in some cases, WordPress show an error message like memory exhausted.
Which could be a good troubleshooting to do?
Thanks!
I have a custom post type that in admin area has a select custom meta box with 12.000+ options. So, in some cases, WordPress show an error message like memory exhausted.
Which could be a good troubleshooting to do?
Thanks!
I think your best shot would be to use a javascript-enhanced selectbox like select2 and an ajax-action to search for options. Right now, i don't have the time to write actual pseudo-code for you, but i guess this link should give you the direction: https://select2.org/data-sources/ajax