AMP_Base_Sanitizer::is_document_in_dev_mode This method has been deprecated. Use AmpProjectDevMode::isActiveForDocument( $document ) instead. AMP_Base_Sanitizer::is_document_in_dev_mode() Description # Check whether the document of a given node is in dev mode. Return # (bool) Whether the document is in dev mode. Source # File: includes/sanitizers/class-amp-base-sanitizer.php Changelog # Changelog Version Description 1.3 Introduced.