From 2f24559e8746bec778ff560588d33338e006be11 Mon Sep 17 00:00:00 2001 From: Kevin Dees Date: Tue, 9 Feb 2021 16:13:55 -0500 Subject: [PATCH] add missing tr_post_type() helper param --- helpers.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/helpers.php b/helpers.php index 77de9f0..a39fd52 100644 --- a/helpers.php +++ b/helpers.php @@ -252,10 +252,11 @@ function tr_taxonomy($singular, $plural = null, $settings = []) * @param string $singular Singular name for post type * @param string|null $plural Plural name for post type * @param array $settings The settings for the post type + * @param string|null $id post type ID * * @return \TypeRocket\Register\PostType */ -function tr_post_type($singular, $plural = null, $settings = []) +function tr_post_type($singular, $plural = null, $settings = [], $id = null ) { return \TypeRocket\Register\PostType::add(...func_get_args()); }