Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Inactive Logout Addon add your custom post type pages to disabled pages.
add_filter( 'ina_disabled_page', '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.