If you’re using Printus on multiple websites with one PrintNode account, you might want to restrict which printers show on a particular website. The snippet below can be used to achieve this.
Replace the 00000000 with the ID of the printer, the Printer ID is shown next to the printer name inside PrintNode:
You can include multiple printer IDs if you would like to make more than one printer available to the website.
add_filter('printus_printnode_restrict_printer_ids', function(){
return [
00000000,
//...
//...
];
});