File manager - Edit - /home/proidvn/me.proid.vn/wp-content/plugins/jetformbuilder/includes/blocks/blocks-repository-base.php
Back
<?php namespace Jet_Form_Builder\Blocks; use JFB_Components\Repository\Repository_Pattern_Trait; use Jet_Form_Builder\Exceptions\Repository_Exception; // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } abstract class Blocks_Repository_Base { use Repository_Pattern_Trait; /** * @param $block_type * * @throws Repository_Exception */ public function rep_before_install_item( $block_type ) { /** @var Types\Base $block_type */ // throw exception & exclude from repository if block is not supported if ( ! $block_type->is_supported() ) { $this->_rep_abort_this(); } } /** * @param $block_type */ public function rep_after_install_item( $block_type ) { /** @var Types\Base $block_type */ $block_type->register_block_type(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.12 |
proxy
|
phpinfo
|
Settings