Month: October 2023

Press This: Are Your WordPress Plugins GPL-compatible?

Welcome to Press This, the WordPress community podcast from WMR. Each episode features guests from around the community and discussions of the largest issues facing WordPress developers. The following is a transcription of the original recording. Powered by RedCircle Doc Pop: You’re listening to Press This, a WordPress community podcast on WMR. Each week we…

Read More

Use Custom Functions to Determine Which Environment You’re Running Your Code

WordPress provides constants and functions for setting up and checking to see if we’re in development mode. Specifically, see the following: wp_is_development_mode WP_DEVELOPMENT_MODE SCRIPT_DEBUG WP_ENVIRONMENT_TYPE But if you’re in a situation in which you’re working on code that’s, say, WordPress-adjacent where it both talks to third-party APIs and services but also sends data to WordPress…

Read More

Archives