Archive for September 2018
SAP Cloud Integration Platform
Browse Projects Accomplished by Our Consulting Team
Read More%PDF- %PDF-
| Direktori : /platform/misc/ |
| Current File : //platform/misc/wp-cli-helper-prefix.php |
<?php
if (!defined('WP_CLI') || !WP_CLI) {
return;
}
$wpaasTablePrefix = getenv('WP_TABLE_PREFIX');
if (
$wpaasTablePrefix !== false
&& $wpaasTablePrefix !== ''
&& preg_match('/^[A-Za-z0-9_]+$/', $wpaasTablePrefix)
) {
WP_CLI::add_hook('after_wp_config_load', static function () use ($wpaasTablePrefix) {
global $table_prefix;
$table_prefix = $wpaasTablePrefix;
});
}
Browse Projects Accomplished by Our Consulting Team
Read More