| 1 | <?php |
||
| 8 | class WP_Toolset { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Get post title |
||
| 12 | * |
||
| 13 | * @param int $id |
||
| 14 | * @return string $title The title of the item. |
||
| 15 | */ |
||
| 16 | public function get_post_title( $id ) { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Get term title |
||
| 22 | * |
||
| 23 | * @param int $id |
||
| 24 | * @param string $subtype |
||
| 25 | * @return string $title The title of the item. |
||
| 26 | */ |
||
| 27 | public function get_term_title( $id, $subtype = '' ) { |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get user title |
||
| 34 | * |
||
| 35 | * @param int $id |
||
| 36 | * @return string $title The title of the item. |
||
| 37 | */ |
||
| 38 | public function get_user_title( $id ) { |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get comment title |
||
| 44 | * |
||
| 45 | * @param int $id |
||
| 46 | * @return string $title The title of the item. |
||
| 47 | */ |
||
| 48 | public function get_comment_title( $id ) { |
||
| 51 | } |
||
| 52 |