WP_CLI\Bootstrap
DeclareFallbackFunctions{}
Class DeclareFallbackFunctions.
Declares functions that might have been disabled but are required.
No Hooks.
Usage
$DeclareFallbackFunctions = new DeclareFallbackFunctions(); // use class methods
Methods
Notes
- Package: WP_CLI\Bootstrap
DeclareFallbackFunctions{} DeclareFallbackFunctions{} code WP-CLI 2.8.0-alpha
final class DeclareFallbackFunctions implements BootstrapStep { /** * Process this single bootstrapping step. * * @param BootstrapState $state Contextual state to pass into the step. * * @return BootstrapState Modified state to pass to the next step. */ public function process( BootstrapState $state ) { include __DIR__ . '/../../fallback-functions.php'; return $state; } }