WP_Recovery_Mode::get_extension_for_error

SummerySummery

Gets the extension that the error occurred in.

Syntax

WP_Recovery_Mode::get_extension_for_error( array $error )

ParametersParameters

$error

(array) (Required) Error that was triggered.

ReturnReturn

(array|false)

  • 'slug'
    (string) The extension slug. This is the plugin or theme's directory.
  • 'type'
    (string) The extension type. Either 'plugin' or 'theme'.

SourceSource

File: wp-includes/class-wp-recovery-mode.php


			

ChangelogChangelog

Changelog
Version Description
5.2.0 Introduced.
Scroll to Top