[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_update_oik_api() – Update the meta data for an oik_api post_type

You appear to be a bot. Output may be restricted

Description

Update the meta data for an oik_api post_type

Usage

oiksc_update_oik_api( $post, $plugin, $func, $file, $type, $title );

Parameters

$post
( post ) required – the oik_api object
$plugin
( ID ) required – the plugin this API is associated with
$func
( string ) required – the API name
$file
( string ) required – the source file for the API
$type
( string ) required – the API type
$title
( mixed ) required –

Returns

void

Source

File name: oik-shortcodes/admin/oik-shortcodes.php
Lines:
1 to 13 of 13
function oiksc_update_oik_api( $post, $plugin, $func, $file, $type, $title ) {
  $post->post_title = oiksc_oik_api_post_title( $func, $type, $title );
  /* Set metadata fields */
  $_POST['_oik_api_name'] = $func;
  oik_require( "shortcodes/oik-api-importer.php", "oik-shortcodes" );
  $_POST['_oik_api_class'] = oikai_get_classref( $func, null, $plugin, $file );
  $_POST['_oik_api_plugin'] = $plugin;
  $_POST['_oik_api_source'] = $file;
  oik_require( "admin/oik-files.php", "oik-shortcodes" );
  $_POST['_oik_fileref'] = oiksc_get_oik_fileref( $plugin, $file );
  $_POST['_oik_api_type'] = $type;
  wp_update_post( $post );
}
 
 View on GitHub

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

Information

Function name: oiksc_update_oik_api
Plugin ref: oik block shortcode and API server
Version: 1.41.3
Sourcefile: admin/oik-shortcodes.php
File ref: admin/oik-shortcodes.php
Deprecated?: No
API Letters: A,O,U

Recent plugin updates

sb-post-edit-block v0.3.2 Update to sb-post-edit-block v0.3.2 for support for PHP 8.1, 8.2 and 8.3 ...
oik-user v0.9.0 Update to oik-user v0.9.0 for support for PHP 8.1, PHP 8.2 and PHP 8.3  ...
oik-weight-zone-shipping v0.2.11 Update to oik-weight-zone-shipping v0.2.11 for WooCommerce High-Performance order storage compatibility ...
sb-breadcrumbs-block v0.6.1 Update to sb-breadcrumbs-block v0.6.1 for support for PHP 8.1 and PHP 8.2 ...
slog v1.5.1 Update to slog v1.5.1 for support for PHP 8.1 and PHP 8.2 ...

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