I’d like to create a plugin that allows me to:
- Endpoint to create/update users with a company_id field;
- Inject this company_id field into the query builder to do something like this:
SELECT * FROM orders WHERE company_id = $__company_id
I don’t want to allow users to change their company_id field and also this data injection onto the query builder must be safe. Any suggestions?
3. Is there a way to create custom forms? Where do I find these kind of documentation?