• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

plugin development

  1. WordPress Development: Eating and Digesting Spaghetti

    The Best Way to Initialize WordPress Plugins

    Purpose The bootstrap file for WordPress plugins can be done in many different ways. I recently changed the PHP file but am always on the lookout for a better way. Considerations Proper Hook No God Class (Uh oh.) No hooks in constructors Use Namespaces Don't mix types (Interfaces, Classes)...
  2. The function get_plugin_data

    The function get_plugin_data

    The top of all bootstrap files for WordPress plugins begin with an important comment block. Below is a sample of a multiline comment block which describes the plugin and provides name, URI, Author, Author URI, and Version. Create a file named fabulous.php and place it in the wp-content/plugins...
Top