File Manager / wp-content Search Upload New Item Settings File "db5.php" Full path: /home1/epichome/public_html/wp-content/db5.php File size: 60.67 B (60.67 KB bytes) MIME-type: text/x-php Charset: utf-8 Download Open Edit Advanced Editor Back
<?php
/**
* Service Provider for interfacing with TEC\Common\Admin\Notice.
*
* @since
*
* @package TEC\Events\Admin\Notice
*/
namespace TEC\Events\Admin\Notice;
use TEC\Common\Contracts\Service_Provider;
/**
* Class Provider
*
* @since
*
* @package TEC\Events\Admin\Notice
*/
class Provider extends Service_Provider {
/**
* Register implementations.
*
* @since
*/
public function register() {
$this->container->singleton( Rest_Api::class, Rest_Api::class );
$this->add_actions();
$this->add_filters();
}
/**
* Add the action hooks.
*
* @since
*/
public function add_actions() {
add_action( 'admin_init', $this->container->callback( Rest_Api::class, 'hook' ) );
}
/**
* Add the filter hooks.
*
* @since
*/
public function add_filters() {
}
}
