Skip to content

Instantly share code, notes, and snippets.

@techies23

techies23/functions.php

Last active Apr 9, 2020
Embed
What would you like to do?
Inactive Logout Addon add your custom post type pages to disabled pages.
add_filter( 'ina_disabled_pages', 'ina_disbable_pages_posts_types' );
function ina_disbable_pages_posts_types( $post_types ) {
$post_types[] = 'your_custom_post_type_name';
return $post_types;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.