|
@@ -699,8 +699,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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(); |
Please login to merge, or discard this patch.