1.11.5 - CPTSync Improvements, Post Log Function and Metabox
· One min read
Adds a simple to use logging function for writing to post specific logs along with the metabox to display them if a log file exists. Adds yoko-user-role-[USER ROLE] classes to the body tag to power content personalization. CPTSync writes sync log entries to individual record post logs by default.
ADDS
- [ADMIN] Adds the \YokoCo\yoko_post_log( $message, $post_id ) function that allows to write to post specific log files.
- [ADMIN] Adds a
Post Logmetabox to any post that has a log file associated with it. Doesn't render if no log file is detected.
- [BODY CLASSES] Adds
yoko-user-role-[USER ROLE]body classes to handle low-level content personalization.
CHANGES
- [CPTSYNC] CPTSync now defaults to writing to the dedicated post log file.