Sindbad~EG File Manager

Current Path : /home/julesbu/www/wp-content/plugins/kk-star-ratings/src/
Upload File :
Current File : /home/julesbu/www/wp-content/plugins/kk-star-ratings/src/kk_star_ratings.php

<?php

/*
 * This file is part of bhittani/kk-star-ratings.
 *
 * (c) Kamal Khan <shout@bhittani.com>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

use function Bhittani\StarRating\core\functions\create_payload;
use function Bhittani\StarRating\functions\to_shortcode;

/** @param int|string|array|object|WP_POST|null $idOrPostOrPayload */
function kk_star_ratings($idOrPostOrPayload = null): string
{
    $payload = create_payload($idOrPostOrPayload);

    $payload['reference'] = 'template';

    return do_shortcode(to_shortcode(kksr('slug'), $payload));
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists