You appear to be a bot. Output may be restricted
Description
Batch WordPress without databaseLoad the required WordPress include files for the task in hand. These files are a subset of the full set of WordPress includes. We may also need the oik-bwtrace plugin if there are any bw_trace2() calls temporarily inserted into the WordPress files for debugging purposes. This is not needed in oik-wp.php
Usage
oik_batch_load_wordpress_files();
Parameters
Returns
voidSource
File name: oik-batch/libs/oik-cli.phpLines:
1 to 16 of 16
function oik_batch_load_wordpress_files() { // Load the L10n library. require_once( ABSPATH . WPINC . '/l10n.php' ); // for get_translations_for_domain() require_once( ABSPATH . WPINC . "/formatting.php" ); require_once( ABSPATH . WPINC . "/plugin.php" ); //require_once( ABSPATH . WPINC . "/option.php" ); require_once( ABSPATH . WPINC . "/functions.php" ); require_once( ABSPATH . WPINC . '/class-wp-error.php' ); require_once( ABSPATH . WPINC . "/load.php" ); // Not sure if we need to load cache.php ourselves // require_once( ABSPATH . WPINC . "/cache.php" ); require_once( ABSPATH . WPINC . "/version.php" ); require_once( ABSPATH . WPINC . "/post.php" ); // for add_post_type_support() wp_load_translations_early(); }View on GitHub