Function wp_rml_register_creatable
Register a new folder type for RML. It does not check if the creatable type is already registered.
Located at
api/folders.php
Parameters summary
string |
$qualified |
The qualified name of the class representing the creatable |
integer |
$type |
The type of the creatable. It must be the same as in yourClass::getType is returned |
boolean |
$onRegister = false |
Calls the yourClass::onRegister function |