-
Notifications
You must be signed in to change notification settings - Fork 4
Viewing Logs
Sean Fisher edited this page May 14, 2020
·
3 revisions
Currently the logs are stored as a custom post type named ai_log
and are accessible by the Administrator
role (more specifically, access is limited to user with the update_core
capability).
A new admin menu labeled Logs will be available just after the Settings menu.
Logs that are handled through the Post/Term Meta Handlers can be viewed directly in the WordPress Admin
new AI_Logger\Meta_Box\Post_Meta_Box\Post_Meta_Box( 'log_meta_key', 'Log Title' );
Post/Term logs are also viewable through the WP-CLI:
wp ai-logger display <object_type> <object_id> [--meta_key=<value>]