Skip to content

Instantly share code, notes, and snippets.

View stephangriesel's full-sized avatar
👺

Stephan Griesel stephangriesel

👺
View GitHub Profile
section.page_header .page_header_inner .p_head_left h1.p-header {
display: none;
}
section.page_header .page_header_inner .p_head_left h1.p-header {
/* color: #3e3e3e; */
display: none;
}
/* Custom Currency */
add_filter( 'woocommerce_currencies', 'add_my_currency' );
function add_my_currency( $currencies ) {
$currencies['Norwegian Kroner'] = __( 'NOK', 'woocommerce' );
return $currencies;
}
add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
/**
* get_headers function.
*
* @return string
*/
public function get_headers() {
return apply_filters( 'woocommerce_email_headers', "Content-Type: " . $this->get_content_type() . "; charset=UTF-8\r\n", $this->id, $this->object );
}
/**
* get_headers function.
*
* @return string
*/
public function get_headers() {
return apply_filters( 'woocommerce_email_headers', "Content-Type: " . $this->get_content_type() . "\r\n", $this->id, $this->object );
}
.page_title2 .title h1 {
display: none;
}