Custom Metabox data slow query on Admin init

I managed to solve this by changing the metabox type of the 3rd party plugin with an Ajax based select search. In the exemple below I’m not using title anymore to filter the select but instead im directly inserting the URL of the post I need (artist/album in this case). I know this is a … Read more

Save / Show multi line text in metabox

Why ? You are using sanitize_text_field() in the metabox save function. According to the code referensece it, Checks for invalid UTF-8, Converts single < characters to entities Strips all tags Removes line breaks, tabs, and extra whitespace Strips octets When saving textarea you want to use sanitize_textarea_field() instead. The function is like sanitize_text_field(), but preserves … Read more