# booktics/1.0.0/core/shortcode/booking-shortcode.php

Booktics – Appointment Booking Calendar for Service Businesses, version 1.0.0. 29 lines.

- Page: https://pluginprobe.com/plugins/booktics/1.0.0/code/core/shortcode/booking-shortcode.php
- Raw: https://pluginprobe.com/plugins/booktics/1.0.0/raw/core/shortcode/booking-shortcode.php
- Modified: 2025-07-03T16:48:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/booktics/1.0.0/code/core/shortcode/booking-shortcode.php#L10-L20`.

```php
<?php
namespace Booktics\Shortcode;

/**
 * Booking shortcode class
 */
class Booking_Shortcode {
    /**
     * Constructor for booking shortcode
     *
     * @return  void
     */
    public function __construct() {
        add_shortcode( 'booktics_booking_form', array( $this, 'render_booking_form' ) );
    }


    /**
     * Render booking form
     *
     * @param   array  $attributes
     *
     * @return  string
     */
    public function render_booking_form( $attributes ) {
        return '<div id="booktics-booking-form"></div>';
    }
}

```
