# booktics/1.0.27/core/assets/common-assets.php

Booktics – Appointment Booking Calendar for Service Businesses, version 1.0.27. 57 lines.

- Page: https://pluginprobe.com/plugins/booktics/1.0.27/code/core/assets/common-assets.php
- Raw: https://pluginprobe.com/plugins/booktics/1.0.27/raw/core/assets/common-assets.php
- Modified: 2026-09-28T15:21:16+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.27/code/core/assets/common-assets.php#L10-L20`.

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

if ( ! defined( 'ABSPATH' ) ) exit;

/**
 * Manage all common scripts and styles
 */
class Common_Assets extends Base_Assets {
    /**
     * Register single service
     *
     * @return  void
     */
    public function register() {
        if ( is_admin() ) {
            add_action( 'admin_enqueue_scripts',  [$this, 'register_styles_scripts'] );
            add_action( 'admin_enqueue_scripts',  [$this, 'enqueue'] );
        } else {
            add_action( 'wp_enqueue_scripts',  [$this, 'register_styles_scripts'] );
            add_action( 'wp_enqueue_scripts',  [$this, 'enqueue'] );
        }
    }

    /**
     * Enqueue scripts and styles
     *
     * @return  void
     */
    public function enqueue() {

    }

    /**
     * Get all scripts
     *
     * @return  array List register scripts
     */
    public function get_scripts(): array {
        $scripts = [];

        return apply_filters( 'booktics_common_assets', $scripts );
    }

    /**
     * List of register styles
     *
     * @return  array
     */
    public function get_styles(): array {
        $styles = [];

        return apply_filters( 'booktics_common_styles', $styles );
    }
}


```
