/
home
/
techb158
/
immovalet.com
/
vendor
/
botble
/
shortcode
/
helpers
/
/home/techb158/immovalet.com/vendor/botble/shortcode/helpers
mkdir
upload
Name
Size
Mode
Actions
constans.php
135
0644
edit
dl
rm
helpers.php
1071
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/vendor/botble/shortcode/helpers/helpers.php
(1071B)
<?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); } }
Save
cmd:
run