ram string $image Image tag. * * @return string */ public function skip_image_resize_detection( $image ) { // No need to add attachment id if auto detection is not enabled. if ( ! $this->can_auto_detect ) { return $image; } // CDN with auto resize need to be enabled. if ( ! $this->settings->get( 'cdn' ) || ! $this->settings->get( 'auto_resize' ) ) { return $image; } Helpers\Parser::add_attribute( $image, 'no-resize-detection' ); return $image; } }