File "WidgetsServiceProvider-20250523062346.php"
Full path: C:/Inetpub/vhosts/drshti.com/httpdocs/wp-content/plugins/depicter/app/src/WordPress/WidgetsServiceProvider-20250523062346.php
File
size: 585 B (585 B bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
namespace Depicter\WordPress;
use WPEmerge\ServiceProviders\ServiceProviderInterface;
/**
* Register widgets.
*/
class WidgetsServiceProvider implements ServiceProviderInterface {
/**
* {@inheritDoc}
*/
public function register( $container ) {
// Nothing to register.
}
/**
* {@inheritDoc}
*/
public function bootstrap( $container ) {
add_action( 'widgets_init', [$this, 'registerWidgets'] );
}
/**
* Register widgets.
*
* @return void
*/
public function registerWidgets() {
// phpcs:ignore
// register_widget( MyWidgetClass::class );
}
}