Skip to content

Another sample plugin – the least amazing plugin in the world.

License

Notifications You must be signed in to change notification settings

bobbingwide/foobar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

foobar

Description

Sample plugin where function foo() calls bar() BUT neither function gets invoked

Also includes a call to do_action( "foobar" ); and another with a call to do_action( "barfoo" ); Both with their own docBlock.

  • Note: Action and filter hooks may be dynamically registered when encountered during display of the API.

Installation

  1. Upload the contents of the foobar plugin to the `/wp-content/plugins/foobar' directory
  2. DON'T bother to activate it

Frequently Asked Questions

What does this do?

Nothing. It was used during a demonstration of the oik-shortcodes plugin - creating dynamic documentation for WordPress plugins

Where is this demonstration?

It's part of a presentation given to PHP Hants in November 2013.

I'm probably doing it wrong

There's some more documentation in Building a plugin's API reference using oik-shortcodes and oik-batch

Screenshots

  1. nothing to see here

Upgrade Notice

1.2

Now contains a localized version for the bbboing language ( bb_BB locale ). Tested to WordPress 4.2.2

1.1

Version made available on oik-plugins.com, 8th April 2014

1.0

For education purposes only

Changelog

1.2

  • Added localized version for bb_BB.

1.1

  • Changed: Added a calls to do_action( "foobar" ) and do_action( "barfoo" ) with preceding docblocks; to test oik-shortcodes

1.0

  • Added: New plugin

About

Another sample plugin – the least amazing plugin in the world.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages