source/php/App.php
/**
     * Creates a admin page to trigger update data function
     * @return void
     */
Creates a admin page to trigger update data function
@return void
Creates a admin page to trigger update data function @return void
public function createParsePage()
    {
        add_submenu_page(
            null,
            __('Import events', 'hbg-event-importer'),
            __('Import events', 'hbg-event-importer'),
            'edit_posts',
            'import-events',
            function () {
                echo '<script>location.href = "' . admin_url('edit.php?post_type=event&msg=import-complete') . '";</script>';
            }
        );
    }
public function createParsePage ( ) { add_submenu_page ( null , __ ( 'Import events' , 'hbg-event-importer' ) , __ ( 'Import events' , 'hbg-event-importer' ) , 'edit_posts' , 'import-events' , function ( ) { echo '<script>location.href = "' . admin_url ( 'edit.php?post_type=event&msg=import-complete' ) . '";</script>' ; } ) ; }
Creates a admin page to trigger update data function
 @return void
Creates a admin page to trigger update data function @return void
//new \HbgEventImporter\Parser\Xcap('http://mittkulturkort.se/calendar/listEvents.action?month=&date=&categoryPermaLink=&q=&p=&feedType=ICAL_XML');