Filter: wr_pdf_template_template_path
Allows you to change pdf template path
Example: Change pdf template path programatically
add_filter( "wr_pdf_template_template_path", array( $this, "custom_template_path" ), 10, 4 );
public function custom_template_path( $template_path, $payload, $options ) {
if($options["identifier"] == "identifier") {
return "custom/path/template.pdf"
}
return $template_path;
}