BuddyClients Docs

ServiceType extends ServiceComponent
in package

Single service type.

Retrieves data for a service type.

Tags
since
0.1.0
see
ServiceComponent

Table of Contents

Properties

$form_field_type  : string
Form field type.
$help_post_id  : int
The ID of the help post.
$hide  : bool
Whether the service type is hidden on the booking form.
$ID  : int
The post ID.
$service_ids  : array<string|int, mixed>
Service IDs.
$slug  : string
The post name.
$title  : string
The post title.

Methods

__construct()  : mixed
Constructor method.

Properties

$form_field_type

Form field type.

public string $form_field_type

The type of field to display on the booking form.

$help_post_id

The ID of the help post.

public int $help_post_id

$hide

Whether the service type is hidden on the booking form.

public bool $hide

$service_ids

Service IDs.

public array<string|int, mixed> $service_ids

An array of service IDs that use the component.

Methods

__construct()

Constructor method.

public __construct(int $post_id) : mixed
Parameters
$post_id : int
Tags
since
0.1.0

        
On this page

Search results