Méthode |
Description |
|
add_diff ( $post_data_diff, $key, $old_value, $new_value ) |
Add diff to array if old and new values are different |
|
add_post_data_diff_to_context ( $context, $old_post_data, $new_post_data ) |
*
Adds diff data to the context array. Is called just before the event is logged. |
|
add_xml_rpc_hooks ( ) |
Filters to XML RPC calls needs to be added early, admin_init is to late |
|
adminCSS ( ) |
|
|
filter_rss_item_link ( string $link, array $row ) |
Modify RSS links to they go directly to the correct post in wp admin |
|
getInfo ( ) : array |
Get array with information about this logger |
|
getLogRowDetailsOutput ( $row ) |
|
|
getLogRowPlainTextOutput ( $row ) |
Modify plain output to inlcude link to post |
|
get_theme_templates ( ) |
Return the current theme templates. |
|
loaded ( ) |
|
|
on_admin_action_editpost ( ) |
Get and store old info about a post that is being edited. |
|
on_delete_post ( $post_id ) |
Called when a post is deleted from the trash |
|
on_transition_post_status ( $new_status, $old_status, $post ) |
Fired when a post has changed status
Only run in certain cases,
because when always enabled it catches a lots of edits made by plugins during cron jobs etc,
which by definition is not wrong, but perhaps not wanted/annoying |
|
on_untrash_post ( $post_id ) |
Called when a post is restored from the trash |
|
on_xmlrpc_call ( $method ) |
|
|
on_xmlrpc_deletePost ( integer $post_ID, array $args ) |
Fires after a post has been successfully deleted via the XML-RPC Blogger API. |
|
on_xmlrpc_editPost ( integer $post_ID, array $args ) |
Fires after a post has been successfully updated via the XML-RPC API. |
|
on_xmlrpc_newPost ( integer $post_ID, array $args ) |
Fires after a new post has been successfully created via the XML-RPC API. |
|