@@ -170,6 +170,12 @@ discard block |
||
170 | 170 | $this->set_status( 'posts', 100 ); |
171 | 171 | } |
172 | 172 | |
173 | + /** |
|
174 | + * @param string $action_name |
|
175 | + * @param string $id_field |
|
176 | + * @param string|null $where_sql |
|
177 | + * @param string $status_name |
|
178 | + */ |
|
173 | 179 | private function enqueue_all_ids_as_action( $action_name, $table_name, $id_field, $where_sql, $status_name ) { |
174 | 180 | global $wpdb; |
175 | 181 | |
@@ -301,6 +307,9 @@ discard block |
||
301 | 307 | return $args; |
302 | 308 | } |
303 | 309 | |
310 | + /** |
|
311 | + * @param string $meta_type |
|
312 | + */ |
|
304 | 313 | private function get_metadata( $ids, $meta_type ) { |
305 | 314 | global $wpdb; |
306 | 315 | $table = _get_meta_table( $meta_type ); |
@@ -699,8 +699,7 @@ discard block |
||
699 | 699 | * Render the events |
700 | 700 | * |
701 | 701 | * @param string $url (default: '') |
702 | - * @param string $context (default: 'widget') or 'shortcode' |
|
703 | - * @return mixed bool|string false on failure, rendered HTML string on success. |
|
702 | + * @return false|string bool|string false on failure, rendered HTML string on success. |
|
704 | 703 | */ |
705 | 704 | public function render( $url = '', $args = array() ) { |
706 | 705 | |
@@ -857,8 +856,7 @@ discard block |
||
857 | 856 | * Wrapper function for iCalendarReader->render() |
858 | 857 | * |
859 | 858 | * @param string $url (default: '') |
860 | - * @param string $context (default: 'widget') or 'shortcode' |
|
861 | - * @return mixed bool|string false on failure, rendered HTML string on success. |
|
859 | + * @return false|string bool|string false on failure, rendered HTML string on success. |
|
862 | 860 | */ |
863 | 861 | function icalendar_render_events( $url = '', $args = array() ) { |
864 | 862 | $ical = new iCalendarReader(); |
@@ -107,7 +107,6 @@ |
||
107 | 107 | /** |
108 | 108 | * Record an event in Tracks - this is the preferred way to record events from PHP. |
109 | 109 | * |
110 | - * @param mixed $identity username, user_id, or WP_user object |
|
111 | 110 | * @param string $event_name The name of the event |
112 | 111 | * @param array $properties Custom properties to send with the event |
113 | 112 | * @param int $event_timestamp_millis The time in millis since 1970-01-01 00:00:00 when the event occurred |