You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
really great plugin, it would be to nice filter custom post types in hooks_transition_post_status and hooks_delete_post. Right now, you're testing for the nav_menu_item to ignore, i would change this to:
$excludes = apply_filters( 'aal_hooks_post_status_excludes', [ 'nav_menu_item'] );
// Skip for menu items.
if ( in_array( get_post_type( $post->ID ), $excludes ) )
return;
(alternativ you could create an options section to enable/disable the post types for logging.)
The text was updated successfully, but these errors were encountered:
hey,
really great plugin, it would be to nice filter custom post types in
hooks_transition_post_status
andhooks_delete_post
. Right now, you're testing for thenav_menu_item
to ignore, i would change this to:(alternativ you could create an options section to enable/disable the post types for logging.)
The text was updated successfully, but these errors were encountered: