Examples

Change Queried data for one Template Object

Change Data for Template object programatical

add_filter( "wr_template_object_modify_data", array( $this, "my_template_object_modify_data" ), 10, 3 );

public function my_template_object_modify_data( $data, $options = array(), $selector = array() ) {

	if ( !empty($options["identifier"] && $options["identifier"] === "my_template_object_identifier" ) ) {
		// Modify data here
		$data["value"] = $data["value"]*1.1;

		return $data;
	}
	return $data;
}