Wordpress: Disable the content editor for a specific page template

/ Published in: PHP
Save to your folder(s)

When adding a meta box to a 'page' in Wordpress (as opposed to a post, or custom post type), you might want to disable the default editor. Use this snippet in your theme's functions.php file to disable the editor for a specific page template.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.