elementor / elementor/activity-log
aal_insert_log documentation
- Dominant language
- PHP
- Stars
- 188
- Forks
- 55
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 12
Description
Documentation for using aal_insert_log() is hard to find.
To implement the function and make it work in my own plugins I had to look into aryo-activity-log\classes\class-aal-activity-log-list-table.php.
When using activity-log out of the box, the object_type parameter can be only one of the following list:
'Core', 'Export', 'Post', 'Taxonomy', 'User', 'Options', 'Attachment', 'Plugin', 'Widget', 'Theme', 'Menu', 'Comments'
When using some other string, the record will be inserted in the DB, but it will not be displayed in the admin area.
object_type is in fact in aal called a role.
See @gfirem solution to add a custom role: https://github.com/pojome/activity-log/issues/87
I hope it will help you.
Have a good programming day.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.