Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-content/plugins/reviewx/vendor/wpdrill/core/src/Providers/ShortcodeServiceProvider.php
Назад
<?php namespace Rvx\WPDrill\Providers; use Rvx\WPDrill\ServiceProvider; use Rvx\WPDrill\Shortcodes\ShortcodeManager; class ShortcodeServiceProvider extends ServiceProvider { protected ShortcodeManager $shortcode; public function register() : void { $this->shortcode = new ShortcodeManager($this->plugin); $this->plugin->bind('shortcode', function () { return $this->shortcode; }); } public function boot() : void { add_action('init', function () { $shortcode = (require $this->plugin->getPath('bootstrap/shortcodes.php')); $shortcode($this->plugin); $this->shortcode->register(); }); } }
| ver. 1.6 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка