@@ -80,6 +80,8 @@ |
||
| 80 | 80 | |
| 81 | 81 | /** |
| 82 | 82 | * Maybe output or return, depending on the context |
| 83 | + * @param string $val |
|
| 84 | + * @param boolean $maybe |
|
| 83 | 85 | */ |
| 84 | 86 | private function _output_or_return( $val, $maybe ) { |
| 85 | 87 | if ( $maybe ) { |
@@ -193,6 +193,9 @@ |
||
| 193 | 193 | return $primary_anchor . $secondary_anchor; |
| 194 | 194 | } |
| 195 | 195 | |
| 196 | + /** |
|
| 197 | + * @param string $class |
|
| 198 | + */ |
|
| 196 | 199 | public function create_menu_item_anchor( $class, $url, $label, $id ) { |
| 197 | 200 | return '<a href="' . $url . '" class="' . $class . '" id="' . $id . '">' . $label . '</a>'; |
| 198 | 201 | } |