[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.8.2
      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.8.2
      Deprecated?: No
      API Letters: B,I,P

      Recent plugin updates

      oik-weight-zone-shipping v0.2.6 oik-weight-zone-shipping v0.2.6 has been tested with WooCommerce 7.4.0. ...
      sb-chart-block v1.2.3 SB Chart Block v1.2.3 contains a fix for an Uncaught Error: Call to undefined function bw_trace2()  ...
      SB Chart Block v1.2.1 Update to SB Chart Block v1.2.0 for custom colors, font size options and multiple y-axis charts.  ...
      oik-css v2.1.0 Update to oik-css v2.1.0 for the ability to style CSS and GeSHi output in documentation. ...
      oik-types v2.3.0 Update to oik-types v2.3.0 for improved control over sort order on archives ...

      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-2023. All rights reserved.


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