[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

oiksc_build_callees() – Build the callees for this API

You appear to be a bot. Output may be restricted

Description

Build the callees for this API

Usage

oiksc_build_callees( $api, $file, $plugin, $post_id, $echo );

Parameters

$api
( string ) required – the API name
$file
( string ) required – the source file for this API
$plugin
( ID ) required – the plugin/theme ID for this API
$post_id
( ID ) required – the post ID for this API
$echo
( bool ) optional default: 1 – true if we want the output echoed

Returns

void

TO DO

The action hooks that are added should only be added once per process. Rather than using a static, the code should be moved to somewhere else

Source

File name: oik-shortcodes/admin/oik-apis.php
Lines:
1 to 18 of 18
function oiksc_build_callees( $api, $file, $plugin, $post_id, $echo=true ) {
  //bw_trace2();
  
  static $added_actions = false;
  if ( !$added_actions ) {
    add_action( "oikai_handle_token_T_STRING", "oikai_add_callee" );
    add_action( "oikai_record_association", "oikai_record_association", 10, 2 ); 
    add_action( "oikai_record_hook", "oikai_record_hook", 10, 3 ); 
    $added_actions = true;
  }
  //add_action( "oikai_handle_token_T_ENCAPSED_STRING", "oikai_add_hook" );
  $slug = get_post_meta( $plugin, "_oikp_slug", true );
  if ( !$slug ) {
    $slug = get_post_meta( $plugin, "_oikth_slug", true );
  }
  oik_require( "shortcodes/oik-api-importer.php", "oik-shortcodes" );
  oikai_build_apiref( $api, $file, $slug, null, $post_id, $echo, $plugin );
}
 
 View on GitHub

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

Information

Function name: oiksc_build_callees
Plugin ref: oik block shortcode and API server
Version: 1.41.1
Sourcefile: admin/oik-apis.php
File ref: admin/oik-apis.php
Deprecated?: No
API Letters: B,C,O

Recent plugin updates

UK-tides v3.1.1 UK-tides v3.1.1 is built with the latest wp-scripts. It's been tested with WordPress 6.2 and Gutenberg 15.7.0 ...
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. ...

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.2. PHP: 7.4.33. Memory limit: 768M