Title: Load plugin with PHP
Last modified: August 20, 2016

---

# Load plugin with PHP

 *  [edzio](https://wordpress.org/support/users/edzio/)
 * (@edzio)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/load-plugin-with-php/)
 * This seems like it would be a standard question but cannot find anything solid
   in the searches. Sorry if it’s a repost.
 * How can I load a plugin using PHP within one of my theme files. For a clients
   site I would rather have a specific plugin load always and not risk them removing
   it while they edit the others. I don’t mean copying all the plugin files into
   my theme, just being able to load it if it is active.
 * I take it this could also be applied to Multisite, where I can just edit my theme
   with code to load plugins (hardcode it in) rather then logging into every sub-
   site and placing it within the widgets area.

The topic ‘Load plugin with PHP’ is closed to new replies.

## Tags

 * [hardcode](https://wordpress.org/support/topic-tag/hardcode/)
 * [load](https://wordpress.org/support/topic-tag/load/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [edzio](https://wordpress.org/support/users/edzio/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/load-plugin-with-php/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
