Class SIW_Post_Type
Class om een custom post type toe te voegen
Copyright:
2019 SIW Internationale Vrijwilligersprojecten
Located at content-types/class-siw-post-type.php
Located at content-types/class-siw-post-type.php
Methods summary
public
|
#
__construct( string $post_type, array $args, array $labels, string $meta_box_fields, string $single_slug, $archive_slug = true )
Undocumented function |
public
|
|
protected
array
|
|
public
string
|
#
register_single_template( string $template, string $type, array $templates )
Registreert template voor losse post |
public
string
|
#
register_archive_template( string $template, string $type, array $templates )
Registreert template voor archiefpagina |
public
array
|
Properties summary
protected
string
|
$post_type
Post type |
|
protected
array
|
$labels
Labels |
|
protected
array
|
$args
Undocumented variable |
#
[]
|
protected
string
|
$single_slug
Slug voor losse post |
|
protected
string
|
$archive_slug
Slug voor archiefpagina |
|
protected
array
|
$meta_box_fields
Undocumented variable |