0

I want to use my custom vuejs front-end app to display a custom post type using the REST api. I've created a folder named app inside the public folder of my vue project, inside it there is the wordpress installation. I want to disable the usage of themes from wordpress and I've found the WP_USE_THEMES constant. If I've understand this will tell to wordpress to not load the themes right? Since wordpress will be used only to create posts and serve them with the REST api, is there any hook that I can use to redirect users to login when they hit the app folder?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.