My version Drupal Batch API for WordPress
Перейти к файлу
2015-06-18 12:24:30 +03:00
css add view percent 2015-06-09 16:11:49 +03:00
js fix percent 2015-06-10 17:13:55 +03:00
languages progress_message complete 2015-06-10 12:51:19 +03:00
.gitmodules git submodules 2015-06-08 16:29:01 +03:00
batch_test.php remove screen_icon() 2015-06-10 19:29:10 +03:00
batch.php Transients API for save $operations 2015-06-18 12:24:30 +03:00
Gruntfile.js add view percent 2015-06-09 16:11:49 +03:00
package.json add view percent 2015-06-09 16:11:49 +03:00
readme.txt Tested up to 4.2 2015-06-10 17:13:27 +03:00

=== Batch operations ===
Contributors: igor-v-belousov
Tags: batch, dev, development, prod, production
Requires at least: 3.5
Tested up to: 4.2

My version Drupal Batch API for WordPress.

== Description == 

Example code:

    $batch['title']='Title';
    $batch['operations'][]=array('test_batch_operation',array());
    
    batch_operations_start($batch);
    
    function test_batch_operation(&$context) {
      file_put_contents( ABSPATH . 'test.txt', "batch work" );
      $context['message'] = 'Yeap! Work!';
    }