Wordpress - Custom Fields and Meta Data
What will the following code output if the post with ID 10 has two meta values 'red' and 'blue' for the key 'color'?
print_r(get_post_meta(10, 'color', false));
print_r(get_post_meta(10, 'color', false));
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions