samargulies/selectively-disable-options
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Selectively Disable Options === Contributors: Sam Margulies Tags: Requires at least: 3.0 Tested up to: 3.1 Stable tag: 0.1 License: GPLv2 or later Remove settings that you do not want users to changes. Useful for Wordpress Multisite. == Description == This plugin has no UI, but will give you the option to hook into the `selectively_disabled_options` function. For example, to force the week to start on Sunday and the site to be private, try: ` function my_disabled_options( $options ) { $options['start_of_week'] = '0'; $options['blog-norobots'] = '0'; $options['comment_moderation'] = '1'; return $options; } add_filter('selectively_disabled_options', 'my_disabled_options'); ` For a list of options visit the WordPress (options reference)[http://codex.wordpress.org/Option_Reference]. == Installation == You can either install it automatically from the WordPress admin, or do it manually: 1. Unzip the archive and put the 'selectively-disable-options' folder into your plugins folder (/wp-content/plugins/). 2. Activate the plugin from the Plugins menu. == Changelog == = 0.1 = Initial version
About
Wordpress plugin to remove settings that you do not want users to changes. Useful for Wordpress Multisite.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published