Yes, either via SQL query or if there's a function I can use like "amelia_get_all_employees()" something like that. This is a very basic request and I'm confused why there isn't anything available online. Unfortunately, I am starting to doubt if Amelia is a good choice for us...
I will try this out and let me know if I face any issues. However, can you tell me why there isn't a function available for this kind of query? e.g., amelia_get_all_employees()? Is it not a much requested feature, or some other reason?
Hi guys,
I tried searching a lot but couldn't find a way to programmatically get all the employees name and IDs.
My purpose is to populate them in a ACF field so it's easier for the admins to easily select the employee and assign them.
Also, is there any developer documentation available that lists down all the functions we could use? I searched but couldn't find any.
Thanks!
Hello Zeshan,
Thank you for reaching out to us.
Are you referring to getting all the employees via SQL query?
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Uros,
Yes, either via SQL query or if there's a function I can use like "amelia_get_all_employees()" something like that. This is a very basic request and I'm confused why there isn't anything available online. Unfortunately, I am starting to doubt if Amelia is a good choice for us...
Hello Zeshan,
For that purpose, you can use try the following SQL query:
Please note that the "wp_" is a default prefix and it may differ from your database.
Hope this helps you.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you for the fast response, Uros.
I will try this out and let me know if I face any issues. However, can you tell me why there isn't a function available for this kind of query? e.g., amelia_get_all_employees()? Is it not a much requested feature, or some other reason?
Hello Zeshan,
This feature will be implemented in one of the future updates, but there is no ETA at the moment.
Please let me know if you have any other questions.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables