How does WP Precheck for PHP Errors in Code Editors
-
Hi, I’m trying to write a plugin where it is possible to write PHP-Code (eg. Shortcodes) in the Admin-Area.
I was wondering how WordPress prechecks the Code in the Theme and Plugin Editor and doesn’t save the file if it would create an error.
I’d like to use that too.I already read through ‘wp-includes/error-protection.php’ and the ‘WP_Error Class’ but I’m totally not sure if I’m on the right track here.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘How does WP Precheck for PHP Errors in Code Editors’ is closed to new replies.