• Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hooks

Namespaces

  • None
  • SIW
    • Admin
    • API
    • Async
    • Batch
    • Compatibility
    • Data
    • Elements
    • Email
    • External
    • Forms
    • Modules
    • Newsletter
    • Page_Builder
    • Plato
    • Widgets
    • WooCommerce
      • Admin
      • Checkout
      • Email
      • Export
      • Frontend
      • Import

Classes

  • SIW_Content_Type
  • SIW_Content_Type_TM_Country
  • SIW_Post_Type
  • SIW_Post_Type_Agenda
  • SIW_Post_Type_Vacatures
  • SIW_Taxonomy

Functions

  • siw_generate_event_json_ld
  • siw_generate_interactive_map
  • siw_generate_job_json_ld
  • siw_get_board_titles
  • siw_get_continent
  • siw_get_continents
  • siw_get_countries
  • siw_get_country
  • siw_get_currencies
  • siw_get_currency
  • siw_get_data
  • siw_get_data_file_ids
  • siw_get_days
  • siw_get_dutch_provinces
  • siw_get_email_settings
  • siw_get_event_data
  • siw_get_featured_job
  • siw_get_genders
  • siw_get_interactive_maps
  • siw_get_job_data
  • siw_get_language
  • siw_get_language_skill_levels
  • siw_get_languages
  • siw_get_nationalities
  • siw_get_option
  • siw_get_project_types
  • siw_get_social_networks
  • siw_get_testimonial_quote
  • siw_get_testimonial_quote_categories
  • siw_get_upcoming_events
  • siw_get_work_type
  • siw_get_work_types
  • siw_meta
  • siw_newsletter_get_lists
  • siw_newsletter_get_subscriber_count
  • siw_newsletter_send_confirmation_email
  • siw_newsletter_subscribe
  • siw_set_option

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

Methods summary

public
# __construct( string $post_type, array $args, array $labels, string $meta_box_fields, string $single_slug, $archive_slug = true )

Undocumented function

Undocumented function

Parameters

$post_type
$args
$labels
$meta_box_fields
$single_slug
$single_slug
$archive_slug
$archive_slug
public
# register_post_type( )

Registreert post type

Registreert post type

protected array
# get_rewrite( )

Geeft rewrite rules terug

Geeft rewrite rules terug

Returns

array
public string
# register_single_template( string $template, string $type, array $templates )

Registreert template voor losse post

Registreert template voor losse post

Parameters

$template
$type
$templates

Returns

string
public string
# register_archive_template( string $template, string $type, array $templates )

Registreert template voor archiefpagina

Registreert template voor archiefpagina

Parameters

$template
$type
$templates

Returns

string
public array
# add_meta_box( array $meta_boxes )

Voegt meta box toe

Voegt meta box toe

Parameters

$meta_boxes

Returns

array

Properties summary

protected string $post_type

Post type

Post type

#
protected array $labels

Labels

Labels

#
protected array $args

Undocumented variable

Undocumented variable

# []
protected string $single_slug

Slug voor losse post

Slug voor losse post

#
protected string $archive_slug

Slug voor archiefpagina

Slug voor archiefpagina

#
protected array $meta_box_fields

Undocumented variable

Undocumented variable

#
SIW API documentation generated by ApiGen