How to verify meta box is registered in Unit Testing?
I am currently doing TDD with WordPress, in the PHPUnit I need to test if the meta box is actually registered on a method call, I could not find any function in WordPress to do that, so I was trying to verify it by calling global $wp_meta_boxes, but it returns null when invoked inside a … Read more