Real Media Library – IUserSettings missing?
-
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;
}
- The topic ‘Real Media Library – IUserSettings missing?’ is closed to new replies.