Create page that is not deletable
You can make use of the filters supplied via the delete/trash functions of WordPress API: wp_trash_post and wp_delete_post: function prevent_post_trash_delete($bool, $post){ $posts_to_keep = [30]; if ( isset( $post->ID ) && in_array($post->ID, $posts_to_keep) ) { return false; } return $bool; } add_filter(‘pre_delete_post’, ‘prevent_post_trash_delete’, 10, 2); add_filter(‘pre_trash_post’, ‘prevent_post_trash_delete’, 10, 2); You can pass an array of IDs … Read more