Skip to content

Instantly share code, notes, and snippets.

@techies23
Created January 6, 2020 10:22
Embed
What would you like to do?
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