File manager - Edit - /home/premiey/www/wp-content/plugins/ameliabooking/src/Infrastructure/WP/ShortcodeService/EventsListBookingShortcodeService.php
Back
<?php /** * @copyright © TMS-Plugins. All rights reserved. * @licence See LICENCE.md for license details. */ namespace AmeliaBooking\Infrastructure\WP\ShortcodeService; use AmeliaBooking\Domain\Common\Exceptions\InvalidArgumentException; /** * Class EventsListBookingShortcodeService * * @package AmeliaBooking\Infrastructure\WP\ShortcodeService */ class EventsListBookingShortcodeService extends AmeliaBookingShortcodeService { /** * @param array $params * @return string * @throws InvalidArgumentException */ public static function shortcodeHandler($params) { $params = shortcode_atts( [ 'trigger' => '', 'counter' => self::$counter, 'event' => null, 'recurring' => null, 'employee' => null, 'tag' => null, 'today' => null, ], $params ); if (!empty($params['tag'])) { $params['tag'] = htmlspecialchars_decode($params['tag']); } self::prepareScriptsAndStyles(); ob_start(); include AMELIA_PATH . '/view/frontend/events-list-booking.inc.php'; $html = ob_get_contents(); ob_end_clean(); return $html; } }
| ver. 1.4 |
Github
|
.
| PHP 5.4.45 | Generation time: 0 |
proxy
|
phpinfo
|
Settings