Support » Plugin: Default Startup Folder for Real Media Library » Real Media Library – IUserSettings missing?

  • Resolved nc_nc

    (@nc_nc)


    I added Default Startup Folder for Real Media Library. Where am I suppose to find my options to set this?

    // overrides IUserSettings
    public function content($content, $user) {
    $default = $this->plugin->getDefaultFolder();
    $selectedNo = $default == “-2” ? ‘selected=”selected”‘ : “”;
    $content .= ‘<tr>
    <th scope=”row”>Default startup folder</th>
    <td>
    <select name=”defaultFolder”>
    <option value=”-2″ ‘ . $selectedNo . ‘>No folder at startup</option>
    ‘ . wp_rml_dropdown($default, array()) . ‘
    </select>
    </td>
    </tr>
    <tr class=”rml-meta-margin”></tr>’;

    return $content;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Real Media Library – IUserSettings missing?’ is closed to new replies.