Created
August 5, 2015 19:36
-
-
Save kjohnson/faf65fbda84aaebe67e3 to your computer and use it in GitHub Desktop.
Disable Post Creation User Dropdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( ! defined( 'ABSPATH' ) ) exit; | |
| /* | |
| Plugin Name: Ninja Forms - Disable Post Creation User Dropdown | |
| Plugin URI: http://ninjaforms.com | |
| Description: Disable Post Creation User Dropdown | |
| Version: 0.1.0 | |
| Author: Kyle B. Johnson | |
| Author URI: http://kylebjohnson.me | |
| */ | |
| add_filter( 'nf_post_creation_user_dropdown', 'nf_disable_post_creation_user_dropdown' ); | |
| function nf_disable_post_creation_user_dropdown(){ | |
| return FALSE; | |
| } |
Author
kjohnson
commented
Aug 5, 2015

Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment