[oik] plugins.com

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

includes/bobbcomp.php


Lines:
1 to 100 of 119
<?php // (C) Copyright Bobbing Wide 2010-2018

/**
 * Company information
 *
 * namespace bw_oik; 
 */

/* function bw_get_cms_type() – Determine the CMS type */

/* function bw_is_wordpress() – Return true if the CMS is WordPress */
 
/* function bw_is_drupal() – Return true if the CMS is Drupal */

if ( bw_is_wordpress() ) {
  if ( !function_exists( "bw_get_option" ) ) {
/* function bw_get_option() – Get the value of an option field */
  } 
}
else {
  /* 
   * Notice the trailing underscore - used to prevent these alternative APIs from being automatically documented
   */
  oik_require( "bobbnotwp.inc_" ); 
}

/* function bw_prepare_shortcode_atts() – **?** Should we allow the $atts array to be pre-mangled. Can we add useful objects? */

/* function bw_get_user_field() – Given a valid user ID return the required field, which may be from a set such as bw_options */

/* function bw_get_user() – Return user information */

/* function bw_get_user_option() – Return a user option field – which may come from a composite field */

/* function bw_default_user() – Return the default user ID */

/* function bw_get_current_user_id() – Return the current user ID if there is one */

/* function bw_get_option_arr() – Retrieve the requested option value depending on the $atts array */

/* function bw_get_me() – Return the tooltip value for "me" */

/* function bw_output() – Display the value of a ‘field’ in a span with a class of the field name */

/* function bw_clear() – Implement the [clear] shortcode to create a div to clear the floats */
 
/* function bw_oik() – Implement the [oik] shortcode */

/* function bw_oik_long() – bw_oik_long – spells out the expanded backronym for OIK */

/* function bw_sdiv() – Start a div tag
Use in conjunction with ediv to add custom divs in pages, posts or blocks
e.g. [div class="blah"]blah goes here[ediv] */

/* function bw_ediv() – End a div tag */

/* function bw_sediv() – Create an empty div for a particular set of classes, id or both
e.g. [sediv class="bd-100"] */

/* function bw_default_empty_att() – Set a default value for an empty attribute value from the oik options or a hardcoded value */

if ( !function_exists( "bw_array_get_dcb" ) ) {
/* function bw_array_get_dcb() – Return the array[index] or build the result by calling $callback, passing the $default as the arg. */
}

/* function bw_default_empty_arr() – Set a default value for an empty array[ index] */


if (!function_exists( 'bw_wp_title' )) {
/* function bw_wp_title() – return a nice SEO title
taking into account which plugins are being used */
}


/**
 * Functions moved to other locations
 * Moved bw_blockquote to shortcodes/oik-blockquote.php
 * Moved bw_cite to shortcodes/oik-cite.php
 */


/* function bw_year_range() – Formats a range of years */

/* function bw_get_yearfrom() – Determines the date of the blog from the date of the earliest registered user */


/* function bw_get_users() – Simple wrapper to get_users */

if ( !function_exists( "bw_user_array" ) ) { 
/* function bw_user_array() – Build a simple ID, title array from an array of $user objects */

/* function bw_user_list() – Return an associative array of all users */
}

/* function bw_copyright() – Displays the copyright statement for the company */

/* function bw_stag() – */

/* function bw_etag() – */

if ( !function_exists( 'bw_array_get_from')) {
[1][2]Next »
 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      1 to 2 of 2
      • bw_is_wordpress() – Return true if the CMS is WordPress
      • oik_require() – Invoke require_once on an oik include file or other file

      Call hooks

      File name: includes/bobbcomp.php
      Plugin ref: oik – oik information kit
      Version: 4.15.3
      Deprecated?: No
      API Letters: B,I,P

      Published: February 2, 2018 | Last updated: February 2, 2018

      Information

      File name: includes/bobbcomp.php
      Plugin ref: oik – oik information kit
      Version: 4.15.3
      Deprecated?: No
      API Letters: B,I,P

      Recent plugin updates

      oik-weight-zone-shipping v0.2.13 oik-weight-zone-shipping v0.2.13 has been tested with WooCommerce 10.1.2 and WordPress 6.8.2 ...
      SB Children Block v1.3.0 Upgrade to SB Children Block v1.3.0 for support for PHP 8.3 and PHP 8.4  ...
      oik v4.15.3 Update to oik v4.15.3 for a couple of security fixes. Tested with WordPress 6.8.2 ...
      oik-privacy-policy v1.4.9 Update to oik-privacy-policy v1.4.9 for a security fix. Tested with WordPress 6.8.2 and PHP 8.3 and PHP 8.4 ...
      oik-nivo-slider v1.17.0 oik-nivo-slider v1.17.0 introduces the Nivo slider block - oik-nivo-slider/nivo. ...

      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.com
      © Copyright oik-plugins 2011-2025. All rights reserved.


      Website designed and developed by Herb Miller of Bobbing Wide
      Proudly powered by WordPress and oik-plugins

      WordPress version: 6.8.3

      Gutenberg version: 21.7.0

      PHP version: 8.2.29