Function tev_post_factory_register
Register a new post type to class name mapping.
Located at
helpers.php
Parameters summary
string |
$postType |
Post type identifier |
string |
$className |
<p>Class name to instantiate for $postType. Class must inherit from <code>\Tev\Post\Model\AbstractPost</code></p> |
Thrown exceptions summary
Exception
|
If class name does not inherit from \Tev\Post\Model\AbstractPost
|