/** * * @return string */ private function _getProductColumnDebugOutput($sASINLocale) { return isset(self::$aProductDebugInfo[$sASINLocale]) ? '<pre class="debug" style="max-height: 300px; overflow-y: scroll; overflow-x: auto; padding: 0 1em; word-wrap: break-word; word-break: break-all; margin: 1em 0;">' . AmazonAutoLinks_Debug::get(self::$aProductDebugInfo[$sASINLocale]) . '</pre>' : ''; }
/** * @since 3.2.2 * @return string * @callback filter aal_filter_unit_output */ public function _replyToAddHTMLBodies($sProductHTML, $sASIN, $sLocale) { $_aHTMLs = $this->_aHTMLs; $this->_aHTMLs = array(); // reset for next outputs. return $sProductHTML . '<pre class="debug" style="max-height: 300px; overflow-y: scroll; overflow-x: auto; padding: 0 1em; word-wrap: break-word; word-break: break-all; margin: 1em 0;">' . '<h3>' . __('Debug Info', 'amazon-auto-links') . ' - ' . __('HTTP Bodies', 'amazon-auto-links') . '</h3>' . AmazonAutoLinks_Debug::get($_aHTMLs) . "</pre>"; }