• Feed
  • Hire Us

HardcoreWP

A Blog about WordPress Development

Main menu

Skip to primary content
Skip to secondary content
  • Categories
    • Coding Techniques
    • Opinion
    • Publishing Plugins
    • Tutorials
  • WordPress Hooks
    • add_filter
    • init
    • remove_action
    • remove_filter
    • the_content
  • Tags
    • Action Hooks
    • Directories
    • Filter Hooks
    • Naming Conventions
    • Plugin Classes
    • Plugin Repository
    • Plugin Submission
    • Singletons

Tag Archives: Plugin Classes

Using Singleton Classes for WordPress Plugins

Published 2013-Jan-09 by mikeschinkel in Coding Techniques.Tagged with Plugin Classes, Singletons.

In our last post "Enabling Action and Filter Hook Removal from Class-based WordPress Plugins" we offered the following as a suggested template for coding WordPress plugins:

Continue reading →

Using Classes as Code Wrappers for WordPress Plugins

Published 2012-Dec-24 by mikeschinkel in Coding Techniques.Tagged with Plugin Classes.

Many tutorials that explain how to write a WordPress plugin (including ours) show the use of global functions for implementing action and filter hooks. In our case we used global functions so we had less to explain. But now that we’ve gotten past that first tutorial we think once you understand using classes you’ll find no… Continue reading →

Categories

  • Best Practices
  • Coding Techniques
  • How-Tos
  • Opinion
  • Publishing Plugins
  • Tutorials
  • WordPress Plugins

Recent Comments

  • Mike Schinkel on Using Classes as Code Wrappers for WordPress Plugins
  • Andreas Kviby on Using Classes as Code Wrappers for WordPress Plugins
  • mikeschinkel on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins
  • Anastasia on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins
  • mikeschinkel on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins
  • Sunil on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins
  • mikeschinkel on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins
  • Sunil on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins
  • mikeschinkel on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins
  • Sunil on Enabling Action and Filter Hook Removal from Class-based WordPress Plugins

Tags

Action Hooks api atlanta Banner Images Directories do_parse_request Filter Hooks Naming Conventions parse_request PHP Tags Plugin Classes Plugin Repository Plugin Submission presentation recursion redirect_canonical request rewrite Singletons template_include template_redirect url wordcamp wp_metadata

WordPress Hooks

add_filter do_parse_request init parse_request redirect_canonical remove_action remove_filter request template_include template_redirect the_content
© 2023 NewClarity LLC, all rights reserved.
Proudly powered by WordPress