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

by Jason Toussig · github.com/jasontoussig/custom-functions-manager · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/jasontoussig/custom-functions-manager/archive/refs/heads/main.zip

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.