Changeset 1694:a699f8de9232 for inc/core
- Timestamp:
- 09/02/13 12:55:13 (12 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/core/class.dc.core.php
r1593 r1694 345 345 } 346 346 347 public function setPostType($type,$admin_url,$public_url )347 public function setPostType($type,$admin_url,$public_url,$label='') 348 348 { 349 349 $this->post_types[$type] = array( 350 350 'admin_url' => $admin_url, 351 'public_url' => $public_url 351 'public_url' => $public_url, 352 'label' => ($label != '' ? $label : $type) 352 353 ); 353 354 }
Note: See TracChangeset
for help on using the changeset viewer.