[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/oik-remote.inc


Lines:
1 to 100 of 130
<?php // (C) Copyright Bobbing Wide 2012-2017


/**
 * Pre-deprecation notice 
 * 
 * All of the functions from oik-remote.inc have been moved to the shared library /libs/class-oik_remote.php
 * Some time in the future, inclusion of this file will display a deprecated notice.
 * In the mean time, we'll use oik_require_lib( "class-oik-remote" ) to load the correct file.
 * 
 * There should be no plugins and themes which attempt to include this file when oik is not active
 * so this call is expected to work.
 */

if ( !defined( "OIK_REMOTE_INCLUDED" ) ) {
  oik_require_lib( "class-oik-remote" );
} /* end !defined */


if ( !defined( "OIK_REMOTE_INCLUDED" ) ) {


/* function bw_remote_head() – Wrapper to wp_remote_head */

/* function bw_remote_geth() – wrapper to wp_remote_get for both HEAD and json body */

/* function bw_remote_get() – Wrapper to wp_remote_get */

/* function bw_remote_get2() – Wrapper to wp_remote_get2 */

/* function bw_retrieve_result() – Return the result if the response code is 200 ( OK ) */

/* function bw_remote_post() – Wrapper to wp_remote_post */

/* function oik_lazy_altapi_check() – Update site_transient_update_plugins for each of our plugins */

/* function oik_check_checked_for_update() – Check the checked array for updates */

/* function oik_check_these_for_update() – Check these plugins for updated versions */




/* function oik_lazy_alttheme_check() – option__site_transient_update_themes stdClass Object
(
[last_checked] => 1367174636
[checked] => Array
( */

/* function oik_check_for_update() – Check an oik-plugins server for an updated plugin */


/* function oik_check_for_theme_update() – Check an oik-themes server for an updated theme */

/* function oikp_our_plugin() – Determine if this is one of "our" plugins */

/* function oik_lazy_pluginsapi() – Implement "plugin_information" for our own plugins */

/* function oik_lazy_themes_api() – Implement "themes_api" for our own themes */

/* function oik_lazy_themes_api_result() – Implement "themes_api_result" filter to add our own themes */



/**
 * Differences between responses for different requests
 *
 * [browse] = "featured" doesn't return much information in the "info" section. 
 * Perhaps this is because there is less than one page! We could test this by setting "per_page" to a low number.
 * OR have a look at what happens with "search". See below
 *
            [info] => Array
                (
                    [page] => 1
                    [pages] => 0
                    [results] => 
                )
 * [browse] = "new"  - same as featured
 * [browse] = "updated" - same as featured
 * 
 * [search] = keyword
 * [author] = author
             [info] => Array
                (
                    [page] => 1
                    [pages] => 1
                    [results] => 27
                    [author] => 
                )

 * [tag] =    tags
 * 
 * The answer is tricky since ajax takes over at the front end.  
 * So we probably need to see what happens during this processing
 (
    [action] => fetch-list
    [paged] => 3
    [s] => 
    [tab] => search
    [type] => term
    [_ajax_fetch_list_nonce] => 5962dafe3a
[1] [2] Next »
 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      1 to 1 of 1
      • oik_require_lib() – Require a library

      Call hooks

      File name: includes/oik-remote.inc
      Plugin ref: oik – oik information kit
      Version: 4.7.2
      Deprecated?: No
      API Letters: I,O,R

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

      Information

      File name: includes/oik-remote.inc
      Plugin ref: oik – oik information kit
      Version: 4.7.2
      Deprecated?: No
      API Letters: I,O,R

      Recent plugin updates

      oik v4.7.2 oik v4.7.2 includes a fix to the logic to render blocks for Content and Excerpts in the bw_pages shortcode. ...
      oik v4.7.1 Upgrade to oik v4.7.1 for bw_pages rendering blocks for Content and Excerpts, and support for post_name attribute for shortcode which query posts ...
      oik-shortcodes v1.41.1 Upgrade to oik-shortcodes v1.41.1 for a couple of minor changes. ...
      oik-bob-bing-wide v2.2.2 Upgrade to oik-bob-bing-wide v2.2.2 for improvements to bw_dash examples and fixes to some SVG icon's visibility. ...
      oik-bwtrace v3.3.1 Upgrade to oik-bwtrace v3.3.1 to measure plugin load times and ad hoc action timing points. ...

      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: [email protected]

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


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