wp_stateless_batch_state
wp_stateless_batch_state
Hook Type: filter
See hook in action
Displaying hooks found in version: wp-stateless.4.1.2apply_filters('wp_stateless_batch_state') is found 2 times:
- /lib/classes/class-api.php line 323
$data = apply_filters("wp_stateless_batch_action_$action", [], $params); $data = array_merge( $data, apply_filters("wp_stateless_batch_state", [], ['force_migrations' => true]), ); return new \WP_REST_Response(array( 'data' => $data, )); } catch (\Throwable $e) {
- /lib/classes/status/class-info-stateless.php line 409
if (is_network_admin()) { return $values; } $state = apply_filters("wp_stateless_batch_state", [], ['force_migrations' => true]); if ( !is_array($state) || !isset( $state['migrations'] ) ) { return $value; } $migrations = [];