Skip to content

Commit 2f24559

Browse files
committed
add missing tr_post_type() helper param
1 parent ae61c13 commit 2f24559

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helpers.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,11 @@ function tr_taxonomy($singular, $plural = null, $settings = [])
252252
* @param string $singular Singular name for post type
253253
* @param string|null $plural Plural name for post type
254254
* @param array $settings The settings for the post type
255+
* @param string|null $id post type ID
255256
*
256257
* @return \TypeRocket\Register\PostType
257258
*/
258-
function tr_post_type($singular, $plural = null, $settings = [])
259+
function tr_post_type($singular, $plural = null, $settings = [], $id = null )
259260
{
260261
return \TypeRocket\Register\PostType::add(...func_get_args());
261262
}

0 commit comments

Comments
 (0)