Description


If you want to add new settings under Downloads –> Settings –> Basic –> Misc Settings , you can use this hook.
If you want to add extra settings under Misc Settings section, you can use this hook.

Parameters


There are no parameters passed to this hook.

Usage


add_action('basic_settings', 'my_settings',10);

Examples

<?php
add_action('basic_settings', 'my_settings',10);
function my_settings(){
?>
Twitter Bootstrap
<select name="__wpdm_twitter_bootstrap">
    <option value="active">Active</option>
    <option selected="selected" value="djs">Disable JS</option>
    <option selected="selected" value="dcss">Disable CSS</option>
    <option selected="selected" value="dall">Disable Both</option>
</select>
<?php
}
?>

Related


Action Hooks

basic_settings_section

Last Updated: Jun 29, 2014


Leave a Reply