[oik] plugins.co.uk

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog
You are here: Home / About oik plugins – lazy smart shortcodes / lazy shortcodes

lazy shortcodes

One of the main principles of oik-plugins is to develop lazy shortcodes using lazy code. Lazy shortcodes say

Call me when you need me, here’s how to get in touch

The oik-plugins code is intended to be as efficient as possible.

We believe that it’s only necessary to instantiate the code when actually needed. Just because a shortcode is defined, there is no need to load all the gubbins that it uses until it’s actually invoked. This principle applies to a lot of the code in the oik suite of plugins.

  • They don’t waste time doing things that other plugins and APIs can do for them; don’t include files if other plugins do it for you.
  • They don’t do things until necessary; waiting for messages to say something’s happened before loading code

To find out more about lazy smart shortcodes why not take some time looking at this “presentation”.

Technically lazy code implements “callbacks” and deferred loading of functionality.

Published: November 4, 2012 | Last updated: December 1, 2020

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.co.uk
© Copyright oik-plugins 2011-2021. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 5.6. PHP: 7.3.26. Memory limit: 128M