documents->is_document_type( 'single' ); } protected function _register_controls() { } protected function render() { $this->__context = 'render'; if ( true === $this->__set_editor_product() ) { $this->__open_wrap(); include $this->__get_global_template( 'index' ); $this->__close_wrap(); $this->__reset_editor_product(); } } }