Since: 2.1
pods_register_type
Add a new Pod outside of the DB
Function Definition
function pods_register_type ( $type, $name, $object = null )
Source File: /pods/includes/general.php
Parameters
Parameter | Type | Details |
---|---|---|
$type | (string) | The pod type ('post_type', 'taxonomy', 'media', 'user', 'comment') |
$name | (string) | The pod name |
$object | (array) | (optional) Pod array, including any 'fields' arrays |
Returns
(array|boolean) Pod data or false if unsuccessful