Adds new select/multi-select options to retrieve options from a callback

This commit is contained in:
Champ Camba
2016-11-06 19:36:22 +08:00
parent 71ef64623d
commit 06983833af
9 changed files with 226 additions and 15 deletions
+11
View File
@@ -1505,6 +1505,17 @@ class UM_Admin_Metabox {
<?php
break;
case '_custom_dropdown_options_source':
?>
<p><label for="_placeholder">Options Callback<?php $this->tooltip('Add a callback source to retrieve options.'); ?></label>
<input type="text" name="_custom_dropdown_options_source" id="_custom_dropdown_options_source" value="<?php echo htmlspecialchars($this->edit_mode_value, ENT_QUOTES); ?>" />
</p>
<?php
break;
}