Skip to content

A starter plugin for extending Pods' functionality

License

Notifications You must be signed in to change notification settings

tasia53/pods-extend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pods Starter Plugin

A starter plugin for extending Pods' functionality.

Requires Pods 2.3.18 or later. (Please keep this notice in your plugin and set the appropriate version.)

Instructions

  • Naming

    You will need to change the name of the plugin in a few simple steps:

    • Rename the base plugin folder name and primary PHP file named 'pods-extend.php' to your plugin's name. Make sure the folder name matches the name of the PHP file (without .php on the end).

    • Search for 'pods-extend' and replace with your desired plugin name in all lowercase with dashes between words (if desired).

    • Search for 'Pods Starter Plugin' and replace with your plugin's proper name.

    • Search for 'Pods_Extend' and replace with your plugin's proper name with underscores instead of spaces between words.

    • Search for 'PODS_EXTEND' and replace with your plugin's proper name in all caps. This is for constants.

    • Be sure to set the plugin header meta data. See https://codex.wordpress.org/Writing_a_Plugin#Names.2C_Files.2C_and_Locations.

  • Usage

Tutorials, like winter are coming.

  • Adding options to Pods Admin:

    Check out the example filters in __construct(). Be sure to note the complete example that has example callbacks.

  • Adding a new Pods field:

    See the example class. Don't forget to include the file and initialize the class.

When Not To Use This Plugin

  • If you are not comfortable with object-oriented PHP.

  • When this plugin is overkill.

If you just need to add some code to help implement Pods in your site, and do not need what this plugin provides, you may be better served by this plugin. It simply includes a file for your custom code, if Pods is active.

Notes and License

This plugin is based on Base WP Plugin and like Pods and WordPress is licensed under the terms of the GNU General Public License (GPL) version 2.

About

A starter plugin for extending Pods' functionality

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%