Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // how to bypass transients in development environment ##
- if ( true === ( $transient_example = get_transient( 'transient_example' ) ) && WP_DEBUG === false ) {
- // transient is set and WP_DEBUG = false in wp-config ##
- echo 'do stuff here..';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement