Skip to content

Instantly share code, notes, and snippets.

@techies23
Created January 6, 2020 10:22
Show Gist options
  • Save techies23/91c3144e5273ac00e51df292c4b434ac to your computer and use it in GitHub Desktop.
Save techies23/91c3144e5273ac00e51df292c4b434ac to your computer and use it in GitHub Desktop.
Inactive Logout External Redirection custom post type page support code.
//Add this to your functions.php file
add_filter('ina_free_get_custom_post_types', function ( $post_type ) {
$post_type[] = 'your_custom_post_type_slug';
return $post_type;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment