[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

oikbmc_lazy_do_page() – Reschedule oldest in category to time page

You appear to be a bot. Output may be restricted

Description

Reschedule oldest in category to time page

Processing depends on the button that was pressed. There should only be one! Selection Validate? Perform action Display preview Display add Display edit Display select list ——————————- ——– ——————- ————— ———— ———— ——————- preview_bmc No n/a Yes – – – delete_bmc No delete selected bmc – – – Yes edit_bmc No n/a – – Yes Yes _oik_bmc_edit_bmc Yes update selected bmc – – Yes Yes _oik_bmc_add_bmc _oik_bmc_add_oik_bmc

Usage

oikbmc_lazy_do_page();

Parameters

Returns

void

Source

File name: oik-batchmove/admin/oik-batchmove-categories.php
Lines:
1 to 56 of 56
function oikbmc_lazy_do_page() {
  // oik_menu_header( "Reschedule oldest in category", "w100pc" );
  $validated = false;
  
  $preview_bmc = bw_array_get( $_REQUEST, "preview_bmc", null );
  $delete_bmc = bw_array_get( $_REQUEST, "delete_bmc", null );
  $edit_bmc = bw_array_get( $_REQUEST, "edit_bmc", null );
  
  
/** These codes override the ones from the list... but why do we need to do it? 
   * Do we have to receive the others in the $_REQUEST **?**
   *
  */
  $oik_bmc_edit_bmc = bw_array_get( $_REQUEST, "_oik_bmc_edit_bmc", null );
  $oik_bmc_add_oik_bmc = bw_array_get( $_REQUEST, "_oik_bmc_add_oik_bmc", null );
  $oik_bmc_add_bmc = bw_array_get( $_REQUEST, "_oik_bmc_add_bmc", null );
  if ( $oik_bmc_add_bmc || $oik_bmc_add_oik_bmc ) {
    $preview_bmc = null;
    $delete_bmc = null;
    $edit_bmc = null; 
  }  
  
  
  if ( $preview_bmc ) {
    oik_box( NULL, NULL, "Preview", "oik_bmc_preview" );
  } 
  
  if ( $delete_bmc ) { 
    _oik_bmc_delete_bmc( $delete_bmc );
  }  

  if ( $edit_bmc ) {
    global $bw_bmc;
    $bw_bmcs = get_option( "bw_bmcs" );
    $bw_bmc = bw_array_get( $bw_bmcs, $edit_bmc, null );
    $bw_bmc['args']['bmc'] = $edit_bmc; 
    bw_trace2( $bw_bmc );
  }
  if ( $oik_bmc_edit_bmc ) {  
    $validated = _oik_bmc_bmc_validate( false );
  }  
  
  if ( $oik_bmc_add_oik_bmc ) {
    $validated = _oik_bmc_bmc_validate( true );
  }
  
  if ( $oik_bmc_add_bmc || ( $oik_bmc_add_oik_bmc && !$validated )  ) {
    oik_box( NULL, NULL, "Add new", "oik_bmc_add_oik_bmc" );
  }
  
  if ( $edit_bmc || $oik_bmc_edit_bmc || $validated ) {
    // oik_box( null, null, "Edit relationship", "oik_bmc_edit_bmc" );
  }
  oik_box( NULL, NULL, "Categories", "oik_bmc_bmcs" );
  //oik_menu_footer();
  bw_flush();
}
 
 View on GitHub View on Trac

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

Information

Function name: oikbmc_lazy_do_page
Plugin ref: Batch change categories or republish
Version: 2.5.1
Sourcefile: admin/oik-batchmove-categories.php
File ref: admin/oik-batchmove-categories.php
Deprecated?: No
API Letters: D,L,O,P

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