[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

oik_require_lib() – Require a library

You appear to be a bot. Output may be restricted

Description

Require a library

Locates and loads (once) a library in order to make functions available to the invoking routine

Usage

$string = oik_require_lib( $library, $version, $args );

Parameters

$library
( string ) required – the name of the (registered) library
$version
( string ) optional – the required library version. null means don't care
$args
( array ) optional – additional parameters

Returns

string the full path to the library file to load

Source

File name: oik-libs/libs/oik-lib.php
Lines:
1 to 6 of 6
function oik_require_lib( $library, $version=null, $args=null ) {
  $oik_libs = oik_libs();
  $library_file = $oik_libs->require_lib( $library, $version, $args );
  bw_trace2( $library_file, "library_file", true, BW_TRACE_VERBOSE );
  return( $library_file );  
}
 
 View on GitHub

Published: March 11, 2017 | Last updated: December 18, 2017

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: herb@bobbingwide.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-2022. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins
WordPress 5.9.2. PHP: 7.4.29. Memory limit: 768M