Since: 1.7.9
save_template
Add or edit a Pod Template
Function Definition
public function save_template ( $params, $sanitized = false )
Source File: /pods/classes/PodsAPI.php
Parameters
Parameter | Type | Details |
---|---|---|
$params | (array|object) | An associative array of parameters |
$sanitized | (bool) | (optional) Decides wether the params have been sanitized before being passed, will sanitize them if false. |
Returns
(int) The Template ID