File "Provider.php"
Full Path: /home/romayxjt/public_html/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Feedback/Provider.php
File size: 899 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
/**
* Handles the binding and control of anything that is feedback related.
*
* @since 6.0.0
*
* @package TEC\Events\Custom_Tables\V1\Feedback
*/
namespace TEC\Events\Custom_Tables\V1\Feedback;
use TEC\Common\Contracts\Service_Provider;
/**
* Class ServiceProvider
*
* @since 6.0.0
*
* @package TEC\Events\Custom_Tables\V1\Feedback
*/
class Provider extends Service_Provider {
/**
* Register the feedback related implementations and hooks.
*
* @since 6.0.0
*/
public function register() {
$this->container->singleton( Google_Form_Feedback::class, Google_Form_Feedback::class );
add_action(
'wp_after_admin_bar_render',
$this->container->callback( Google_Form_Feedback::class, 'render_classic_editor_version' )
);
add_filter(
'tribe_editor_config',
$this->container->callback( Google_Form_Feedback::class, 'filter_editor_config' )
);
}
}