PATH:
home
/
lab2454c
/
crypto.keyreum.com
/
platform
/
packages
/
shortcode
/
helpers
<?php if (!function_exists('shortcode')) { /** * @return \Botble\Shortcode\Shortcode */ function shortcode() { return app('shortcode'); } } if (!function_exists('add_shortcode')) { /** * @param string $key * @param string $name * @param null|string $description * @param Callable|string $callback * @return \Botble\Shortcode\Shortcode */ function add_shortcode($key, $name, $description = null, $callback = null) { return shortcode()->register($key, $name, $description, $callback); } } if (!function_exists('do_shortcode')) { /** * @param string $content * @return string */ function do_shortcode($content) { return shortcode()->compile($content); } } if (!function_exists('generate_shortcode')) { /** * @param string $name * @param array $attributes * @return string */ function generate_shortcode($name, array $attributes = []) { return shortcode()->generateShortcode($name, $attributes); } }
[+]
..
[-] helpers.php
[edit]
[-] constans.php
[edit]