IF I have a select box and use a custom callback in "Choices"
callback: myFunction
AND myFunction is defined in functions.php as
function myFunction() {
return array('red' => 'Red');
}
THEN the metabox displays 'Red' in the select box.
HOWEVER IF I change myFunction to
function myFunction() {
return array('blue' => 'Blue');
}
THEN the select box still displays 'Red'
UNTIL I change the "Choices" to
callback: notMyFunction
UPDATE AND change it back to
callback: myFunction
UPDATE AND THEN the select box displays 'Blue'
Are we caching somewhere?