mirror of
https://ghproxy.net/https://github.com/elementor/activity-log.git
synced 2025-10-04 03:06:11 +08:00
Added restore status for CPT, closed #46
This commit is contained in:
parent
cdcf54ad5f
commit
667cbec3fc
3 changed files with 100 additions and 92 deletions
|
@ -25,8 +25,11 @@ class AAL_Hook_Posts extends AAL_Hook_Base {
|
|||
// page was deleted.
|
||||
$action = 'trashed';
|
||||
}
|
||||
elseif ( 'trash' === $old_status ) {
|
||||
$action = 'restored';
|
||||
}
|
||||
else {
|
||||
// page updated. i guess.
|
||||
// page updated. I guess.
|
||||
$action = 'updated';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue