WP Manifestindependent plugin directory
manifest / developer / custom-functions-manager

Custom Functions Manager

A simple plugin to manage custom functions without modifying your theme's functions.php file

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/jasontoussig/custom-functions-manager/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A simple plugin to manage custom functions without modifying your theme's functions.php file.

Description

Custom Functions Manager lets you add, edit, and save custom PHP functions from the WordPress admin, without touching your theme files. All code is stored in the database and runs as if it were in functions.php.

Installation

  1. Upload the plugin files to the /wp-content/plugins/custom-functions-manager directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Tools > Custom Functions to add your custom code.

Frequently Asked Questions

Is it safe to use eval()?

The plugin uses eval() to execute your custom code. Syntax errors or fatal errors in your code may cause issues. Always test your code on a staging site first.

Can I use this to add any PHP code?

Yes, but only code that would normally go in your theme's functions.php file. Do not use for code that should be in a plugin or that requires activation hooks.

Screenshots

  1. Admin interface for adding custom functions.

Changelog

2.0.0

  • Improved security and internationalization.
  • Now requires Ace Editor to be bundled locally.

Upgrade Notice

2.0.0

Ace Editor must be bundled locally for WordPress.org compliance.

License

This plugin is free software, released under the GPLv2 or later. See license.txt for details.