BuddyDev

Search

mpp_deregister_type( $type )

Deregister an existing type.

Description

This function is used to deregister an existing type.

Parameters

$type (String) (Required) :- The unique identifier for type. Example:- “photo”, “audio”, “video” etc.

Returns

Boolean. True on success, false on failure

 Examples

The code shows how we deregister the presentation type.

Note:-

It must be called after a type has been registered. Calling it before the type was actually registered will have no effects. You can use it to remove core types too.

See also:-

mpp_register_type

 Changelog

  • Since 1.0.0

Source

medisapress/core/api/mpp-api.php