[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

oikbmt_lazy_do_page() – Reschedule oldest in tag to time page

You appear to be a bot. Output may be restricted

Description

Reschedule oldest in tag 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_bmt No n/a Yes – – – delete_bmt No delete selected bmt – – – Yes edit_bmt No n/a – – Yes Yes _oik_bmt_edit_bmt Yes update selected bmt – – Yes Yes _oik_bmt_add_bmt _oik_bmt_add_oik_bmt

Usage

oikbmt_lazy_do_page();

Parameters

Returns

void

Source

File name: oik-batchmove/admin/oik-batchmove-tags.php
Lines:
1 to 55 of 55
function oikbmt_lazy_do_page() {
  $validated = false;
  
  $preview_bmt = bw_array_get( $_REQUEST, "preview_bmt", null );
  $delete_bmt = bw_array_get( $_REQUEST, "delete_bmt", null );
  $edit_bmt = bw_array_get( $_REQUEST, "edit_bmt", 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_bmt_edit_bmt = bw_array_get( $_REQUEST, "_oik_bmt_edit_bmt", null );
  $oik_bmt_add_oik_bmt = bw_array_get( $_REQUEST, "_oik_bmt_add_oik_bmt", null );
  $oik_bmt_add_bmt = bw_array_get( $_REQUEST, "_oik_bmt_add_bmt", null );
  if ( $oik_bmt_add_bmt || $oik_bmt_add_oik_bmt ) {
    $preview_bmt = null;
    $delete_bmt = null;
    $edit_bmt = null; 
  }  
  
  
  if ( $preview_bmt ) {
    oik_box( NULL, NULL, "Preview", "oik_bmt_preview" );
  } 
  
  if ( $delete_bmt ) { 
    _oik_bmt_delete_bmt( $delete_bmt );
  }  

  if ( $edit_bmt ) {
    global $bw_bmt;
    $bw_bmts = get_option( "bw_bmts" );
    $bw_bmt = bw_array_get( $bw_bmts, $edit_bmt, null );
    $bw_bmt['args']['bmt'] = $edit_bmt; 
    bw_trace2( $bw_bmt );
  }
  if ( $oik_bmt_edit_bmt ) {  
    $validated = _oik_bmt_bmt_validate( false );
  }  
  
  if ( $oik_bmt_add_oik_bmt ) {
    $validated = _oik_bmt_bmt_validate( true );
  }
  
  if ( $oik_bmt_add_bmt || ( $oik_bmt_add_oik_bmt && !$validated )  ) {
    oik_box( NULL, NULL, "Add new", "oik_bmt_add_oik_bmt" );
  }
  
  if ( $edit_bmt || $oik_bmt_edit_bmt || $validated ) {
    // oik_box( null, null, "Edit relationship", "oik_bmt_edit_bmt" );
  }
  oik_box( NULL, NULL, "Tags", "oik_bmt_bmts" );
  //oik_menu_footer();
  bw_flush();
}
 
 View on GitHub View on Trac

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

Information

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

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