How to call a WP Class inside my theme

I wrote a WP theme using namespaces and autoload. Everything went smooth until I started to use WP classes which I understand of course because I understand how namespacing works.
My question is, is there a way possible to use a WordPress class inside one of my theme classes, for example I want to use $wp_customize, an instance of WP_Customize_Manager? How would I achieve that, keeping my OOP theme structure.

Read more here:: How to call a WP Class inside my theme

Leave a Reply

Your email address will not be published. Required fields are marked *