SPECIFICATIONS
Brand Name: NoEnName_Null
Origin: Mainland China
Model Number: first aid kit
Choice: yes
add_action('template_redirect', function() { if ( is_admin() ) return;// Only target URLs that include attribute_ in the query string if ( isset($_SERVER['QUERY_STRING']) && strpos($_SERVER['QUERY_STRING'], 'attribute_') !== false ) {ob_start(function($buffer) { // remove any existing robots meta tag(s) $buffer = preg_replace('/]*>\s*/i', '', $buffer);// remove any existing canonical link(s) $buffer = preg_replace('/]*>\s*/i', '', $buffer);// compute canonical URL by dropping query string $path = strtok($_SERVER['REQUEST_URI'], '?'); if ( function_exists('home_url') ) { $canonical = home_url( $path ); } else { $scheme = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? 'https' : 'http'; $canonical = $scheme . '://' . $_SERVER['HTTP_HOST'] . $path; }// prepare our replacements $insert = "\n"; $insert .= '\n";// insert right before $buffer = preg_replace('/<\/head>/i', $insert . '', $buffer, 1);return $buffer; }); } }, 1);
Skip to content
Reviews
There are no reviews yet.