BuddyDev

Search

mpp_deregister_media_view ( $type, $storage )

Deregister an existing media view.

Description

This function is used to deregister existing media views.

Parameters

$type (String) (Required) :- Unique identifier for media type e.g “photo”, “video” etc.

$storage (String) (Required) :- Unique identifier for storage manager e.g “default”, “local” etc.

Returns

Boolean. True on success, false on failure.

 Examples

The code shows how we deregister the default view for video.

Note:-

It must be used after a view has been registered.

See also:-

mpp_register_media_view

 Changelog

  • Since 1.0.0

Source

medisapress/core/api/mpp-api.php

 

Subscribe