Filter: wr_pdf_template_container_css

Allows you to overwrite the css.

 

 

 

Example: Add fonts to pdf builder

add_filter( "wr_pdf_template_container_css", array( $this, "get_pdf_template_container_css" ), 10, 4 );

public function get_pdf_template_container_css( $css, $options, $payload ) {
	// Filter PDF Template Identifier
	if($option["identifier"]=="your_identifier") {
		$css = "YOUR CSS";
	}
	return $css;
}
0
    0
    Your Cart
    Your cart is emptyReturn to Shop