public function register_hooks( HookProviderInterface $provider ) {
		if ( $provider instanceof PluginAwareInterface ) {
			$provider->set_plugin( $this );
		}

		$provider->register_hooks();
		return $this;
	}
public function register_hooks( HookProviderInterface $provider ) {
		if ( $provider instanceof PluginAwareInterface ) {
			$provider->set_plugin( $this );
		}

		$provider->register_hooks();
		return $this;
	}
public function register_hooks ( HookProviderInterface $ provider ) { if ( $ provider instanceof PluginAwareInterface ) { $ provider -> set_plugin ( $ this ) ; } $ provider -> register_hooks ( ) ; return $ this ; }
Register a hook provider.

@param  HookProviderInterface $provider Hook provider.
@return $this
Register a hook provider .