BuddyDev

Search

mpp_deregister_component ( $key )

Deregister an existing component.

Description

This function is used to deregister an existing component. It must be called after a component was registered, calling it before that will have no effects.

Parameters

$Key (String) (Required) :- A unique identifier for the component(which we used while registering a component)

Returns

boolean:- false on failure, true on success.

 Examples

The code shows how we deregister the groups component.

 

Note:-

It must be used after component got registered. Most suitable action is “mpp_init”

See also:-

mpp_register_component

 Changelog

  • Since 1.0.0

Source

medisapress/core/api/mpp-api.php