Title: WordPress CLI : Exclude plugin from loading
Last modified: August 24, 2016

---

# WordPress CLI : Exclude plugin from loading

 *  [Looic](https://wordpress.org/support/users/looic/)
 * (@looic)
 * [11 years ago](https://wordpress.org/support/topic/wordpress-cli-exclude-plugin-from-loading/)
 * Hi All,
 * I am developping a plugin that needs to be loaded in command-line. The WordPress
   environment loads successfully and I can create / update posts from the commandine.
 * Now, I would like to prevent some plugins to load automatically when I load the
   wordpress environment from commandline.
 * Is there a way to prevent some plugins to load only when WordPress is called 
   in commandline ?
 * Thank you for your help,
    Looic.

The topic ‘WordPress CLI : Exclude plugin from loading’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Looic](https://wordpress.org/support/users/looic/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/wordpress-cli-exclude-plugin-from-loading/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
