mpp_deregister_status ( $status )
deregister a previously registered status.
Description
This function is used to deregister a previously registered status. It must be called after the status has been registered. Calling it before the status was registered, will have no effects. It can be used to deregister the core statuses too. Please do not deregister public status.
Parameters
$status :- String, the unique identifier used while registering the status
Returns
It does not return anything.
Examples
The code shows how we deregister the Friends only privacy status
1 2 3 4 5 6 7 | function mpp_deregister_friendsonly_status() { mpp_deregister_status( 'friendsonly' ); } add_action( 'mpp_init', 'mpp_deregister_friendsonly_status' ); |
See also:-
Changelog
- Since 1.0.0
Source
medisapress/core/api/mpp-api.php