示例#1
0
/**
 * Remove the support for a given type the component
 * 
 * @param type $component
 * @param type $type
 * @return type
 */
function mpp_component_remove_type_support($component, $type)
{
    return mpp_component_deregister_feature($component, 'type', $type);
}
示例#2
0
/**
 * Remove the support for a given type the component
 * 
 * @param type $component
 * @param type $type
 * @return type
 */
function mpp_component_deregister_type($component, $type)
{
    return mpp_component_deregister_feature($component, 'type', $type);
}