public/wordpress/wp-content/plugins/h5p/admin/class-h5p-content-admin.php
/**
   * Handle ajax request to install library from url
   */
Handle ajax request to install library from url
Handle ajax request to install library from url
public function ajax_library_install() {
    $token = filter_input(INPUT_GET, 'token');
    $name = filter_input(INPUT_GET, 'id');
    $editor = $this->get_h5peditor_instance();
    $editor->ajax->action(H5PEditorEndpoints::LIBRARY_INSTALL, $token, $name);
    exit;
  }
public function ajax_library_install ( ) { $ token = filter_input ( INPUT_GET , 'token' ) ; $ name = filter_input ( INPUT_GET , 'id' ) ; $ editor = $ this -> get_h5peditor_instance ( ) ; $ editor -> ajax -> action ( H5PEditorEndpoints :: LIBRARY_INSTALL , $ token , $ name ) ; exit ; }
Handle ajax request to install library from url
Handle ajax request to install library from url