# windpress/3.0.1/src/Api/ApiInterface.php

WindPress – Tailwind CSS integration for WordPress, version 3.0.1. 27 lines.

- Page: https://pluginprobe.com/plugins/windpress/3.0.1/code/src/Api/ApiInterface.php
- Raw: https://pluginprobe.com/plugins/windpress/3.0.1/raw/src/Api/ApiInterface.php
- Modified: 2024-08-28T03:03:42+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/windpress/3.0.1/code/src/Api/ApiInterface.php#L10-L20`.

```php
<?php

/*
 * This file is part of the WindPress package.
 *
 * (c) Joshua Gugun Siagian <suabahasa@gmail.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
declare (strict_types=1);
namespace WindPress\WindPress\Api;

interface ApiInterface
{
    /**
     * Get the API endpoint prefix.
     */
    public function get_prefix(): string;
    /**
     * Register custom REST API endpoints as described in the [WordPress REST API Handbook](https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-custom-endpoints/).
     *
     * @see https://developer.wordpress.org/reference/functions/register_rest_route/
     */
    public function register_custom_endpoints(): void;
}

```
